Denis Muratshin 8 éve
szülő
commit
389a839b83
1 módosított fájl, 3 hozzáadás és 2 törlés
  1. 3 2
      src/flow/flow.cpp

+ 3 - 2
src/flow/flow.cpp

@@ -1,4 +1,4 @@
-#include "flow.h"
+#include "flow.h"
 #include "Scene.h"
 #include "Transition.h"
 #include "oxygine/actor/DebugActor.h"
@@ -48,7 +48,8 @@ namespace oxygine
 
         void free()
         {
-            _touchBlocker->detach();
+            if (_touchBlocker)
+                _touchBlocker->detach();
             _touchBlocker = 0;
             _defaultTransition = 0;
             Flow::instance.free();