Closed
Description
If ipdb.release() is called (as is specified in the documentation), and logging is configured, then pyroute2 always logs "WARNING:pyroute2.ipdb.main:shutdown in progress" when python exits:
#!/usr/bin/env python
import logging
logging.basicConfig(level=logging.INFO)
from pyroute2 import IPDB
ipdb = IPDB()
ipdb.release()
It looks like the problem is:
https://github.com/svinota/pyroute2/blob/master/pyroute2/ipdb/main.py#L907
and
https://github.com/svinota/pyroute2/blob/master/pyroute2/ipdb/main.py#L1150
Can cleanup() be updated to skip the call to release() if _stop is True to avoid this?
Activity