mirror of
https://github.com/wiiu-env/AromaBasePlugin.git
synced 2025-02-19 20:52:48 +01:00
No need to test before destroying the thread, this test already exists inside
`std::optional::reset()`.
This commit is contained in:
parent
51e6092b91
commit
ae89d71672
@ -49,9 +49,7 @@ void RemoveButtonComboHandles(NotificationModuleHandle, void *) {
|
||||
}
|
||||
|
||||
void StopUpdaterCheckThread() {
|
||||
if (sCheckUpdateThread) {
|
||||
sCheckUpdateThread.reset();
|
||||
}
|
||||
sCheckUpdateThread.reset();
|
||||
RemoveButtonComboHandles(0, nullptr);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user