diff --git a/src/frontend/misccoms.c b/src/frontend/misccoms.c index 9c5a2c59b..596615dd2 100644 --- a/src/frontend/misccoms.c +++ b/src/frontend/misccoms.c @@ -108,7 +108,7 @@ com_quit(wordlist *wl) #ifdef SHARED_MODULE destroy_const_plot(); spice_destroy_devices(); - + cp_resetcontrol(FALSE); /* add 1000 to notify that we exit from 'quit' */ controlled_exit(1000 + exitcode); #else