(self)
| 354 | ).mainloop() |
| 355 | |
| 356 | def _on_logoff(self): |
| 357 | try: |
| 358 | if self.on_logoff_callback: |
| 359 | self.on_logoff_callback() |
| 360 | self._on_quit() |
| 361 | except Exception as e: |
| 362 | CustomDialog( |
| 363 | f"An error occurred while logging off: {e}", msg_type="error" |
| 364 | ).mainloop() |
| 365 | |
| 366 | def _on_quit(self): |
| 367 | self.loop_terminate = True |
nothing calls this directly
no test coverage detected