Skip to content

Commit

Permalink
Shot-in-the-dark attempt to fix the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Oct 17, 2018
1 parent 6b30c18 commit f6933b9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/wesnothd_connection.cpp
Expand Up @@ -84,8 +84,10 @@ wesnothd_connection::~wesnothd_connection()
MPTEST_LOG;

// Stop the io_service and wait for the worker thread to terminate.
stop();
worker_thread_->join();
if(worker_thread_) {
stop();
worker_thread_->join();
}
}

// main thread
Expand Down

0 comments on commit f6933b9

Please sign in to comment.