Closed liubang123123 closed 5 days ago
I have the following error while testing the program: coproto::Socket::close() must be awaited if called. Terminate is being called terminate called without an active exception How to solve it ?
co_await socket.close();
Or
sync_wait(socket.close());
co_await socket.close(); Or sync_wait(socket.close());
Thank you,my question has been solved!
I have the following error while testing the program: coproto::Socket::close() must be awaited if called. Terminate is being called terminate called without an active exception How to solve it ?