| Index: runtime/bin/dbg_connection.cc
|
| diff --git a/runtime/bin/dbg_connection.cc b/runtime/bin/dbg_connection.cc
|
| index e6489df62f064e37676dfb124c430eb1f1d15f66..2cc4cd83ffa761e4bc780f45c94c038b0980486a 100644
|
| --- a/runtime/bin/dbg_connection.cc
|
| +++ b/runtime/bin/dbg_connection.cc
|
| @@ -455,8 +455,7 @@ void DebuggerConnectionHandler::HandleInterruptCmd(DbgMessage* in_msg) {
|
| MessageParser msg_parser(in_msg->buffer(), in_msg->buffer_len());
|
| int msg_id = msg_parser.MessageId();
|
| Dart_IsolateId isolate_id = msg_parser.GetInt64Param("isolateId");
|
| - if (isolate_id == DART_ILLEGAL_ISOLATE_ID ||
|
| - Dart_GetIsolate(isolate_id) == DART_ILLEGAL_ISOLATE) {
|
| + if (isolate_id == ILLEGAL_ISOLATE_ID || Dart_GetIsolate(isolate_id) == NULL) {
|
| in_msg->SendErrorReply(msg_id, "Invalid isolate specified");
|
| return;
|
| }
|
|
|