File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ cc.ActionManager = cc.Class.extend(/** @lends cc.ActionManager# */{
287287 * because it uses this, so it can not be static
288288 */
289289 purgeSharedManager :function ( ) {
290- cc . director . getScheduler ( ) . scheduleUpdate ( this ) ;
290+ cc . director . getScheduler ( ) . unscheduleUpdate ( this ) ;
291291 } ,
292292
293293 //protected
Original file line number Diff line number Diff line change @@ -1155,7 +1155,7 @@ cc.Node = cc.Class.extend(/** @lends cc.Node# */{
11551155 */
11561156 setScheduler : function ( scheduler ) {
11571157 if ( this . _scheduler != scheduler ) {
1158- this . unscheduleAllWithMinPriority ( ) ;
1158+ this . unscheduleAll ( ) ;
11591159 this . _scheduler = scheduler ;
11601160 }
11611161 } ,
@@ -1661,7 +1661,7 @@ cc.Node = cc.Class.extend(/** @lends cc.Node# */{
16611661 * @see cc.Node#scheduleUpdate
16621662 */
16631663 unscheduleUpdate : function ( ) {
1664- this . scheduler . unschedule ( this . __instanceId , this ) ;
1664+ this . scheduler . unscheduleUpdate ( this ) ;
16651665 } ,
16661666
16671667 /**
You can’t perform that action at this time.
0 commit comments