@@ -64,11 +64,11 @@ } httpServerThread.start() } - deinit { + override func viewDidDisappear(_ animated: Bool) { httpServerThread.runLoop.stop() httpServerThread.join() } override func tableView(_ tableView: UITableView,