File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const ERROR_PREFIX = 'Error when notifying listener: ';
4343class SessionService {
4444 constructor ( openmct , openmctMCWSConfig ) {
4545 this . openmct = openmct ;
46- this . datasetCache ;
46+ this . datasetCache = null ;
4747
4848 this . subscriptions = {
4949 session : [ ] ,
@@ -80,7 +80,7 @@ class SessionService {
8080
8181 return ( ) => {
8282 this . subscriptions . session = this . subscriptions . session . filter ( ( cb ) => {
83- cb !== callback ;
83+ return cb !== callback ;
8484 } ) ;
8585 } ;
8686 } ;
@@ -100,7 +100,7 @@ class SessionService {
100100
101101 return ( ) => {
102102 this . subscriptions . historical = this . subscriptions . historical . filter ( ( cb ) => {
103- cb !== callback ;
103+ return cb !== callback ;
104104 } ) ;
105105 } ;
106106 } ;
You can’t perform that action at this time.
0 commit comments