summaryrefslogtreecommitdiff
path: root/src/hgspy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hgspy.c')
-rw-r--r--src/hgspy.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hgspy.c b/src/hgspy.c
index 298e089..5bc5be5 100644
--- a/src/hgspy.c
+++ b/src/hgspy.c
@@ -387,8 +387,10 @@ _hgspy_quit_cb(GtkWidget *widget,
if (spy->vm) {
retval = _hgspy_ask_dialog(spy, N_("Hieroglyph VM is still running.\nAre you sure that you really want to quit?"));
+ if (retval)
+ hg_vm_shutdown(spy->vm, 0);
} else {
- retval = FALSE;
+ retval = TRUE;
}
if (retval) {
gtk_widget_unrealize(spy->window);