-rw-r--r-- | gsl-shell.c | 3 |
diff --git a/gsl-shell.c b/gsl-shell.c index 5d17be9e..77c5260b 100644 --- a/gsl-shell.c +++ b/gsl-shell.c @@ -62,6 +62,7 @@ #include "gsl-shell.h" #include "lua-gsl.h" #include "lua-utils.h" +#include "window-refs.h" #define report error_report @@ -380,6 +381,8 @@ static void dotty (lua_State *L) { do_windows_unref (L); } + window_ref_close_all (L); + do_windows_unref (L); lua_settop(L, 0); /* clear stack */ |