Refactor OSThread consumers to use disable()
This commit is contained in:
1 parent
a8f93d5f47
commit
38a1315599
9 files changed
+14
-25
No files matched your search
@@ -93,10 +93,10 @@ void OSThread::run()
|
||||
currentThread = NULL;
|
||||
}
|
||||
|
||||
void OSThread::disable() {
|
||||
void OSThread::disable()
|
||||
{
|
||||
enabled = false;
|
||||
setInterval(INT32_MAX);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user