Skip to content

Commit c7d13d8

Browse files
committed
fix: fix a minor edge case
1 parent 4ec32df commit c7d13d8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

libs/server-sent-events/src/client.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ class FoxyClient : public Client,
187187
}
188188

189189
void do_run() {
190+
if (shutting_down_) {
191+
return;
192+
}
193+
190194
if (connection_hook_) {
191195
connection_hook_(&req_);
192196
}

0 commit comments

Comments
 (0)