summaryrefslogtreecommitdiffstats
path: root/src/thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.cc')
-rw-r--r--src/thread.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread.cc b/src/thread.cc
index c4934b0..5233dd1 100644
--- a/src/thread.cc
+++ b/src/thread.cc
@@ -244,14 +244,14 @@ Thread* Thread::Attach(const char* thread_name, bool as_daemon, Object* thread_g
}
Object* Thread::GetMainThreadGroup() {
- if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(gThreadGroup, true)) {
+ if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(gThreadGroup, true, true)) {
return NULL;
}
return gThreadGroup_mMain->GetObject(NULL);
}
Object* Thread::GetSystemThreadGroup() {
- if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(gThreadGroup, true)) {
+ if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(gThreadGroup, true, true)) {
return NULL;
}
return gThreadGroup_mSystem->GetObject(NULL);