Fixed crash upon destroying PreviewEditor (#1454)

This commit is contained in:
mooviies 2017-04-14 14:21:17 -04:00 committed by David Capello
parent d4de15bfd7
commit 36a85e6d3f

View File

@ -160,6 +160,11 @@ public:
setCustomizationDelegate(this);
}
~PreviewEditor()
{
setCustomizationDelegate(NULL);
}
// EditorCustomizationDelegate implementation
void dispose() override {
// Do nothing