code: def close(self):
          '''close the Mission Editor window'''
          self.close_window.set()
          if self.child.is_alive():
              self.child.join(1)
  
          self.child.terminate()
  
          self.event_queue_lock.acquire()
          self.event_queue.put(MissionEditorEvent(me_event.MEE_TIME_TO_QUIT));
          self.event_queue_lock.release(f close(self):
          '''close the Mission Editor window'''
          self.close_window.set()
          if self.child.is_alive():
              self.child.join(1)
  
          self.child.terminate()
  
          self.event_queue_lock.acquire()
          self.event_queue.put(MissionEditorEvent(me_event.MEE_TIME_TO_QUIT));
          self.event_queue_lock.release()
docs: close the Mission Editor window