diff --git a/IPython/kernel/comm/manager.py b/IPython/kernel/comm/manager.py index 74efe06..47ac845 100644 --- a/IPython/kernel/comm/manager.py +++ b/IPython/kernel/comm/manager.py @@ -112,7 +112,7 @@ class CommManager(LoggingConfigurable): ) if callback is None: self.log.error("No such comm target registered: %s", target) - comm.destroy() + comm.close() return callback(comm) self.register_comm(comm)