diff --git a/amiga/gui.c b/amiga/gui.c index 57b2dd478..f00671221 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -416,6 +416,11 @@ void ami_handle_msg(void) { if(ami_tree_event((struct treeviw_window *)gwin)) { + if(IsMinListEmpty(window_list)) + { + /* last window closed, so exit */ + netsurf_quit = true; + } break; } else