Support the global destruction flag in DEMOLISH()
[gitmo/Mouse.git] / xs-src / Mouse.xs
index 34ba351..86b7896 100644 (file)
@@ -650,6 +650,7 @@ CODE:
 
             PUSHMARK(SP);
             XPUSHs(object);
+            XPUSHs(boolSV(PL_dirty));
             PUTBACK;
 
             call_sv(AvARRAY(demolishall)[i], G_VOID | G_EVAL);