def close_tworld(self, dat):
        self.log.error('Connection to tworld closed.')
        # All connections we're holding are back to unavailable status.
        for (connid, conn) in self.app.twconntable.as_dict().items():
            conn.available = False
        self.tworld = None
        self.twbuffer = None
        self.tworldavailable = False
        self.tworldtimerbusy = False
Handle the child removed event for a WxNotebook.
dataset/ETHPy150Open erkyrath/tworld/lib/tweblib/servers.py/ServerMgr.close_tworld--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/wx/wx_notebook.py/WxNotebook.child_removed