-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Description
Hi,
I am trying to remove one listener when my controller is changing via
$scope.$on('$destroy', function() {
hpSocketFactory.removeListener(emiterListernerLeagueLobby, function(err) {
});
hpSDSocketFactory.removeListener(emiterListernerMatchID, function(err) {
});
});
But it does not seem to work. Listener is not removed. How to remove one particular listener when controller is changing?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels