Index: runtime/vm/isolate.h |
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
index 63a8cc860295518ed5965d84ceb45fd430db7efb..e40b3900876e47edc888d878c8ac940b5ac8bc19 100644 |
--- a/runtime/vm/isolate.h |
+++ b/runtime/vm/isolate.h |
@@ -312,7 +312,12 @@ class Isolate : public BaseIsolate { |
void set_message_handler(MessageHandler* value) { message_handler_ = value; } |
bool is_runnable() const { return is_runnable_; } |
- void set_is_runnable(bool value) { is_runnable_ = value; } |
+ void set_is_runnable(bool value) { |
+ is_runnable_ = value; |
+ if (is_runnable_) { |
+ set_last_resume_timestamp(); |
+ } |
+ } |
IsolateSpawnState* spawn_state() const { return spawn_state_; } |
void set_spawn_state(IsolateSpawnState* value) { spawn_state_ = value; } |