Reputation: 727
I have a function which takes care of the closing of my application. But somehow the ..quit() doesn't close the window. It doesn't stuck into an infinity loop or something like that.
def onExit():
QtCore.QCoreApplication.instance().quit
sys.exit(app)
shutdown = 1
#set the shutdown var to the child process
parent.send(shutdown)
logProc.join()
return
Upvotes: 0
Views: 548