Veto window closure during scanner discovery in the background.
This commit is contained in:
@@ -311,7 +311,10 @@ wxThread::ExitCode BackgroundScannerDiscovery::Entry()
|
||||
evt.SetShow ( true );
|
||||
m_owner->OnActivated ( evt );
|
||||
if (m_evh)
|
||||
{
|
||||
m_evh->OnDone();
|
||||
wxDELETE(m_evh);
|
||||
}
|
||||
}
|
||||
return ( wxThread::ExitCode ) 0;
|
||||
}
|
||||
@@ -321,3 +324,5 @@ wxThread::ExitCode BackgroundScannerDiscovery::Entry()
|
||||
void BackgroundScannerDiscoveryEvent::OnDone()
|
||||
{}
|
||||
|
||||
BackgroundScannerDiscoveryEvent::~BackgroundScannerDiscoveryEvent() = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user