[Discovery] Fix thread termination

This commit is contained in:
momo5502 2016-11-20 14:31:52 +01:00
parent 1d13548829
commit ac102cc8b0

View File

@ -98,7 +98,7 @@ namespace Components
Discovery::~Discovery()
{
Discovery::IsPerforming = false;
Discovery::IsPerforming = true;
Discovery::IsTerminating = true;
if (Discovery::Thread.joinable())
{