The cleanup_gui.py module#

Summary#

cleanup_gui

Remove the temporary mechdb file after it is closed.

pid

Description#

Clean up temporary mechdb files after GUI is closed.

Module detail#

cleanup_gui.cleanup_gui(pid, temp_mechdb) None#

Remove the temporary mechdb file after it is closed.

Parameters:
pid: int

The process ID of the open temporary mechdb file.

temp_mechdb: Path

The path of the temporary mechdb file.

cleanup_gui.pid#