From 5aeb5ab0f07d57fc58e2239af16025763bdd80ab Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Wed, 28 Jan 2009 22:30:43 +0000 Subject: [PATCH] Enable glorious unloadAndStop(). I did some tests with it, and it sure does put the kibosh on things. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@769 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/as/com/threerings/flash/LoaderUtil.as | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/as/com/threerings/flash/LoaderUtil.as b/src/as/com/threerings/flash/LoaderUtil.as index d31838ed..32489f46 100644 --- a/src/as/com/threerings/flash/LoaderUtil.as +++ b/src/as/com/threerings/flash/LoaderUtil.as @@ -20,16 +20,16 @@ public class LoaderUtil } catch (e1 :Error) { // ignore } -// try { -// loader.unloadAndStop(); -// } catch (e2 :Error) { + try { + loader.unloadAndStop(); + } catch (e2 :Error) { // hmm, maybe they are using FP9 still try { loader.unload(); } catch (e3 :Error) { // ignore } -// } + } } } }