Skip to content

Commit

Permalink
fix: remove invalid event loop interest bump (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford authored Dec 10, 2024
1 parent c61b935 commit f957cd4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions builtins/web/blob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ class StreamTask final : public api::AsyncTask {

public:
explicit StreamTask(const HandleObject source, api::Engine *engine) : source_(source) {
engine->incr_event_loop_interest();
handle_ = IMMEDIATE_TASK_HANDLE;
}

Expand Down Expand Up @@ -234,7 +233,6 @@ class StreamTask final : public api::AsyncTask {

[[nodiscard]] bool cancel(api::Engine *engine) override {
handle_ = INVALID_POLLABLE_HANDLE;
engine->decr_event_loop_interest();
return true;
}

Expand Down

0 comments on commit f957cd4

Please sign in to comment.