diff --git a/driver/io-unix.cpp b/driver/io-unix.cpp index 2575cfe..80e93e4 100644 --- a/driver/io-unix.cpp +++ b/driver/io-unix.cpp @@ -310,8 +310,6 @@ AsyncIoContext setupAsyncIo() { Own io_provider = heap(prt_ref, event_loop); - WaitScope wait_scope{event_loop}; - return {std::move(event_loop), prt_ref, std::move(io_provider), - std::move(wait_scope)}; + return {std::move(event_loop), prt_ref, std::move(io_provider)}; } } // namespace gin \ No newline at end of file diff --git a/source/io.h b/source/io.h index 7f8fc1b..8b18e7c 100644 --- a/source/io.h +++ b/source/io.h @@ -85,7 +85,6 @@ struct AsyncIoContext { EventLoop event_loop; EventPort &event_port; Own io; - WaitScope wait_scope; }; AsyncIoContext setupAsyncIo();