Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Retain message order
  • Loading branch information
Eugene Ostroukhov committed May 11, 2016
commit 8ad1d1aa8e7f4b7dda4e9b75136b3dae3cc62d36
2 changes: 1 addition & 1 deletion src/inspector_agent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ void Agent::OnRemoteData(uv_stream_t* stream, ssize_t read, const uv_buf_t* b) {
Agent* agent = reinterpret_cast<Agent*>(socket->data);
if (read > 0) {
uv_mutex_lock(&agent->queue_lock_);
agent->message_queue_.PushFront(new MessageFromFrontend(b->base, read - 1));
agent->message_queue_.PushBack(new MessageFromFrontend(b->base, read - 1));
agent->platform_->CallOnForegroundThread(agent->parent_env()->isolate(),
new DispatchOnInspectorBackendTask(agent));
agent->parent_env()->isolate()
Expand Down