diff --git a/modules/beast_core/threads/beast_Thread.cpp b/modules/beast_core/threads/beast_Thread.cpp index d4efea45..0b43828e 100644 --- a/modules/beast_core/threads/beast_Thread.cpp +++ b/modules/beast_core/threads/beast_Thread.cpp @@ -40,7 +40,9 @@ Thread::~Thread() To avoid this type of nastiness, always make sure you call stopThread() before or during your subclass's destructor. */ - fatal_assert (! isThreadRunning()); + check_precondition (! isThreadRunning()); + + stopThread (); } //==============================================================================