Comment 7 for bug 669132

Revision history for this message
Diego Rocha (diego-rocha-393) wrote :

Try this:
import signal

def handleSigTERM():
    atExit()

signal.signal(signal.SIGTERM, handleSigTERM)

but with the proper function. "atExit()" doesn't seem to be the function that saves the playslist (too lazy to search, plus is pretty late already).