MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / __del__

Method __del__

src/python/openvpn3/SessionManager.py:121–130  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

119
120
121 def __del__(self):
122 try:
123 if self.__log_callback is not None:
124 self.LogCallback(None)
125 if self.__status_callback is not None:
126 self.StatusChangeCallback(None)
127 except ImportError:
128 # This happens if Python is already shutting down
129 # no chance to properly clean up at this point.
130 pass
131
132
133 ##

Callers

nothing calls this directly

Calls 2

LogCallbackMethod · 0.95
StatusChangeCallbackMethod · 0.95

Tested by

no test coverage detected