editors/IECCodeViewer.py
author Edouard Tisserant
Fri, 19 Apr 2013 11:19:55 +0900
changeset 1045 a220a27defe5
parent 815 e4f24593a758
child 1057 3837e165b3f9
permissions -rw-r--r--
Runtime now unloads and cleanup PLC before exit (created threads was preventing exit)

from editors.TextViewer import TextViewer

class IECCodeViewer(TextViewer):
    
    def __del__(self):
        TextViewer.__del__(self)
        if getattr(self, "_OnClose"):
            self._OnClose(self)