| Index: runtime/vm/isolate.cc
|
| ===================================================================
|
| --- runtime/vm/isolate.cc (revision 45623)
|
| +++ runtime/vm/isolate.cc (working copy)
|
| @@ -937,13 +937,13 @@
|
|
|
| MutexLocker ml(mutex_);
|
| // Check if we are in a valid state to make the isolate runnable.
|
| - if (is_runnable_ == true) {
|
| + if (is_runnable() == true) {
|
| return false; // Already runnable.
|
| }
|
| // Set the isolate as runnable and if we are being spawned schedule
|
| // isolate on thread pool for execution.
|
| ASSERT(object_store()->root_library() != Library::null());
|
| - is_runnable_ = true;
|
| + set_is_runnable(true);
|
| if (!ServiceIsolate::IsServiceIsolate(this)) {
|
| message_handler()->set_pause_on_start(FLAG_pause_isolates_on_start);
|
| message_handler()->set_pause_on_exit(FLAG_pause_isolates_on_exit);
|
|
|