'Clean up temporary files after the editor closed.'

def _cleanup(self):

    if (self._file is None):
        return
    try:
        if (self._proc.exit_status() != QProcess.CrashExit):
            os.remove(self._file.name)
    except OSError as e:
        message.error('Failed    to    delete    tempfile...    ({})'.format(e))
