Date: Sun Nov 21 17:30:35 2010
New Revision: 10950
Fix serious crash if NetSurf is running twice (once with the FORCE switch) on a
NetSurf-created public screen, and the sessions are quit in the reverse order to which
they were launched.
--- trunk/netsurf/amiga/gui.c (original)
+++ trunk/netsurf/amiga/gui.c Sun Nov 21 17:30:35 2010
@@ -2047,23 +2047,13 @@
- if(!locked_screen) /* set if we are using somebody else's screen */
- /* have a go at closing the public screen, apparently this is OK to do */
+ /* Have a go at closing the public screen, apparently this is OK to do
+ even if it isn't our screen (ie. locked_screen != NULL) */
-/* fixme: need newmenu struct propd to this function - should this be freed here?