Skip to content

Commit 17637dc

Browse files
committed
call del explicitly
ensure del is called on base classes as well
1 parent 5b51ee7 commit 17637dc

File tree

1 file changed

+5
-0
lines changed
  • Assets/Integrations/Autodesk/maya2017/scripts/unityOneClick

1 file changed

+5
-0
lines changed

Assets/Integrations/Autodesk/maya2017/scripts/unityOneClick/commands.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ class BaseCommand(OpenMayaMPx.MPxCommand, LoggerMixin):
3737
"""
3838
def __init__(self):
3939
OpenMayaMPx.MPxCommand.__init__(self)
40+
LoggerMixin.__init__(self)
41+
42+
def __del__(self):
43+
LoggerMixin.__del__(self)
44+
OpenMayaMPx.MPxCommand.__del__(self)
4045

4146
class configureCmd(BaseCommand):
4247
"""

0 commit comments

Comments
 (0)