diff options
author | Wonseop Kim <wonseop.kim@samsung.com> | 2013-04-26 19:26:47 +0900 |
---|---|---|
committer | hjnim.kim <hjnim.kim@samsung.com> | 2013-05-03 15:29:06 +0900 |
commit | 10a17c79480bdede7cb00e668b332e0a3a60949a (patch) | |
tree | dbb41a81b363c76adea0184a6c309c2459529ee8 | |
parent | 106cfea4429c8212603ed893c138898918c50ede (diff) | |
download | web-ui-fw-10a17c79480bdede7cb00e668b332e0a3a60949a.tar.gz web-ui-fw-10a17c79480bdede7cb00e668b332e0a3a60949a.tar.bz2 web-ui-fw-10a17c79480bdede7cb00e668b332e0a3a60949a.zip |
Gallery3d: Fix null reference error
Fix an error that is occurred when the widget is destoryed while playing an animation
Change-Id: I148a9a5e4f39d166fdfb5b513341a301ef5b0567
-rw-r--r-- | src/js/widgets/jquery.mobile.tizen.gallery3d.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/widgets/jquery.mobile.tizen.gallery3d.js b/src/js/widgets/jquery.mobile.tizen.gallery3d.js index 832c69ee..dd16a867 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 ) { |