From 7bc356d1f0670831a1056a1d44799c5f6f73e76d 2013-10-23 02:40:34 From: MinRK Date: 2013-10-23 02:40:34 Subject: [PATCH] s/destroy/close --- 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)