mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +00:00
Revert "Added MG_SHUTDOWN event"
This reverts commit 15a0d819ed.
There is no point in MG_SHUTDOWN. Thread that calls mg_stop() can
do the same thing.
This commit is contained in:
1 parent
15a0d819ed
commit
cf53f3da4f
2 files changed
+1
-3
No files matched your search
@@ -4303,7 +4303,6 @@ static void free_context(struct mg_context *ctx) {
|
||||
}
|
||||
|
||||
void mg_stop(struct mg_context *ctx) {
|
||||
call_user(fc(ctx), MG_SHUTDOWN);
|
||||
ctx->stop_flag = 1;
|
||||
|
||||
// Wait until mg_fini() stops
|
||||
|
||||
Reference in new issue
Block a user