mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 06:12:19 +01:00
remove startup.zsc when application exit
This commit is contained in:
parent
ed1b6365f7
commit
f54e1fda59
1 changed files with 4 additions and 0 deletions
|
|
@ -740,4 +740,8 @@ class QtCommunicator(BaseCommunicator):
|
|||
def _exit(self, *args, **kwargs):
|
||||
super()._exit(*args, **kwargs)
|
||||
emit_event("application.exit")
|
||||
# remove zsc script of env variable
|
||||
startup_zsc = os.path.join(
|
||||
ZBRUSH_HOST_DIR, "startup", "startup.zsc")
|
||||
os.remove(startup_zsc)
|
||||
self.qt_app.exit(self.exit_code)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue