diff --git a/src/master-item-subscriber.js b/src/master-item-subscriber.js index 6fbdfa1d..8b17157d 100644 --- a/src/master-item-subscriber.js +++ b/src/master-item-subscriber.js @@ -103,6 +103,7 @@ export default function MasterItemSubscriber({ model, callback }) { unsubscribe() { Object.keys(subscriptions).forEach((libraryId) => { subscriptions[libraryId].listener.dispose(); + subscriptions[libraryId].unbindCloseListnener(); }); subscriptions = {}; },