Skip to content

Commit

Permalink
stop listening to tick source on time system change
Browse files Browse the repository at this point in the history
  • Loading branch information
akhenry committed Aug 4, 2016
1 parent f844495 commit f4e1879
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ define(
TimeConductorMode.prototype.selectedTimeSystem.apply(this, arguments);

if (timeSystem) {
if (this.tickSourceUnlisten) {
this.tickSourceUnlisten();
}

var defaults = timeSystem.defaults()[0];

if (arguments.length > 0) {
Expand Down

0 comments on commit f4e1879

Please sign in to comment.