diff options
Diffstat (limited to 'externals/grill/flext/source/flext.cpp')
-rw-r--r-- | externals/grill/flext/source/flext.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/externals/grill/flext/source/flext.cpp b/externals/grill/flext/source/flext.cpp index eb3f2a35..e2ace494 100644 --- a/externals/grill/flext/source/flext.cpp +++ b/externals/grill/flext/source/flext.cpp @@ -54,6 +54,11 @@ flext_base::FLEXT_CLASSDEF(flext_base)(): flext_base::~FLEXT_CLASSDEF(flext_base)() { +#if FLEXT_SYS == FLEXT_SYS_PD && !defined(FLEXT_NOATTREDIT) + // attribute editor window may still be open -> close it + gfxstub_deleteforkey(thisHdr()); +#endif + #if FLEXT_SYS == FLEXT_SYS_MAX // according to David Z. one should do that first... // if(insigs) dsp_free(thisHdr()); |