mirror of
https://github.com/wiiu-env/AromaBasePlugin.git
synced 2025-02-22 05:57:19 +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() {
|
void StopUpdaterCheckThread() {
|
||||||
if (sCheckUpdateThread) {
|
sCheckUpdateThread.reset();
|
||||||
sCheckUpdateThread.reset();
|
|
||||||
}
|
|
||||||
RemoveButtonComboHandles(0, nullptr);
|
RemoveButtonComboHandles(0, nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user