ncannasse hace 10 años
padre
commit
5a772eccc4
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      hxd/App.hx

+ 1 - 0
hxd/App.hx

@@ -25,6 +25,7 @@ class App {
 
 
 	function setup() {
 	function setup() {
 		engine.onResized = function() {
 		engine.onResized = function() {
+			if( s2d == null ) return; // if disposed
 			s2d.checkResize();
 			s2d.checkResize();
 			onResize();
 			onResize();
 		};
 		};