mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 06:03:08 +00:00
stop listening to tick source on time system change
This commit is contained in:
parent
f844495cc1
commit
f4e1879a2d
@ -83,6 +83,10 @@ define(
|
|||||||
TimeConductorMode.prototype.selectedTimeSystem.apply(this, arguments);
|
TimeConductorMode.prototype.selectedTimeSystem.apply(this, arguments);
|
||||||
|
|
||||||
if (timeSystem) {
|
if (timeSystem) {
|
||||||
|
if (this.tickSourceUnlisten) {
|
||||||
|
this.tickSourceUnlisten();
|
||||||
|
}
|
||||||
|
|
||||||
var defaults = timeSystem.defaults()[0];
|
var defaults = timeSystem.defaults()[0];
|
||||||
|
|
||||||
if (arguments.length > 0) {
|
if (arguments.length > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user