[Discovery] Fix thread termination
This commit is contained in:
parent
1d13548829
commit
ac102cc8b0
@ -98,7 +98,7 @@ namespace Components
|
|||||||
Discovery::~Discovery()
|
Discovery::~Discovery()
|
||||||
{
|
{
|
||||||
Discovery::IsPerforming = false;
|
Discovery::IsPerforming = false;
|
||||||
Discovery::IsPerforming = true;
|
Discovery::IsTerminating = true;
|
||||||
|
|
||||||
if (Discovery::Thread.joinable())
|
if (Discovery::Thread.joinable())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user