| 174 | } |
| 175 | |
| 176 | void OnExit(wxCommandEvent& event) override |
| 177 | { |
| 178 | if (wxGetApp().IsWorkerThreadRunning()) |
| 179 | { |
| 180 | emergencyStop = true; |
| 181 | |
| 182 | /* We need to wait for the worker thread to exit before we can |
| 183 | * continue to shut down. */ |
| 184 | |
| 185 | _exitTimer.StartOnce(100); |
| 186 | } |
| 187 | else |
| 188 | Destroy(); |
| 189 | } |
| 190 | |
| 191 | void OnClose(wxCloseEvent& event) override |
| 192 | { |
nothing calls this directly
no test coverage detected