Shrinking UI elements in the debugger.

This commit is contained in:
Ben Vanik
2015-09-06 20:49:20 -07:00
parent e5fbf840d2
commit a1a996c1e6
9 changed files with 46 additions and 5 deletions

View File

@@ -652,7 +652,7 @@ X_STATUS XThread::Suspend(uint32_t* out_suspend_count) {
++guest_object<X_KTHREAD>()->suspend_count;
// If we are suspending ourselves, we can't hold the lock.
if (XThread::GetCurrentThread() == this) {
if (XThread::IsInThread() && XThread::GetCurrentThread() == this) {
global_lock.unlock();
}