Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Delete callbacks when you unsubscribe from a channel. #102

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions app/assets/javascripts/private_pub.js
Expand Up @@ -84,6 +84,7 @@ function buildPrivatePub(doc) {
if (sub) {
sub.cancel();
delete self.subscriptionObjects[channel];
delete self.subscriptionCallbacks[channel];
}
},

Expand Down