diff --git a/src/core.c b/src/core.c index d5c1b21..1271ab4 100644 --- a/src/core.c +++ b/src/core.c @@ -174,6 +174,7 @@ static void MwFreeWidget(MwWidget handle) { int i; MwWidget root = handle; + handle->destroyed = 0; MwDispatch(handle, destroy); for(i = 0; i < arrlen(handle->children); i++) {