From 10a17c79480bdede7cb00e668b332e0a3a60949a Mon Sep 17 00:00:00 2001 From: Wonseop Kim Date: Fri, 26 Apr 2013 19:26:47 +0900 Subject: [PATCH] Gallery3d: Fix null reference error Fix an error that is occurred when the widget is destoryed while playing an animation Change-Id: I148a9a5e4f39d166fdfb5b513341a301ef5b0567 --- src/js/widgets/jquery.mobile.tizen.gallery3d.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/widgets/jquery.mobile.tizen.gallery3d.js b/src/js/widgets/jquery.mobile.tizen.gallery3d.js index 832c69e..dd16a86 100644 --- a/src/js/widgets/jquery.mobile.tizen.gallery3d.js +++ b/src/js/widgets/jquery.mobile.tizen.gallery3d.js @@ -714,6 +714,8 @@ define( [ "components/imageloader", "components/motionpath", "components/webgl" return; } + self._stop(); + canvas = canvas || self._canvas; $( self._nodes ).each( function ( i ) { -- 2.7.4