Skip to content
Snippets Groups Projects
Commit f8c6f879 authored by Joakim Skogø Langvand's avatar Joakim Skogø Langvand
Browse files

Remove join method; destructor takes care of it now

parent 8c901050
No related branches found
No related tags found
No related merge requests found
......@@ -70,10 +70,7 @@ void tests() {
std::cout << "Task F\n";
}, 1000);
/* Wait for all threads to finish
*/
eventLoop.join();
workerThreads.join();
// ~Workers does GC, we can safely exit the scope
}
int main(int argc, const char** argv) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment