Skip to content

Commit

Permalink
fix: remove unused dump action field (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
legendecas committed Nov 2, 2022
1 parent 840df2a commit 5b157fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/commands/dump.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ struct DumpData {
DumpAction action;
ThreadId thread_id;
int profiling_time;
bool run_once = true;
};

void FinishSampling(v8::Isolate* isolate, const char* reason);
Expand Down
2 changes: 1 addition & 1 deletion src/environment_data.cc
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ void EnvironmentData::InterruptIdleCallback(uv_async_t* handle) {
}

while (requests != nullptr) {
requests->Call(env_data, InterruptKind::kBusy);
requests->Call(env_data, InterruptKind::kIdle);
requests = std::move(requests->next_);
}
}
Expand Down

0 comments on commit 5b157fe

Please sign in to comment.