(self)
| 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 | ## |
nothing calls this directly
no test coverage detected