Merge pull request #3722 from cesanta/fixmdashenable

fix mdash enablement trashing tests
This commit is contained in:
Sergio R. Caprile
2026-10-06 12:40:58 -03:00
committed by GitHub
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -309,6 +309,7 @@ mip_diabish: CC = gcc
mip_diabish: CFLAGS += -std=gnu89 -Werror=declaration-after-statement -Werror=vla -Wno-pedantic
mip_diabish: mip_test
mip_vc98: MDASH = 0
mip_vc98: mip_test.c mongoose.c mongoose.h packed_fs.c Makefile
$(DOCKER) mdashnet/vc98 wine cl mip_test.c packed_fs.c $(VCFLAGS) $(DEFS) $(TFLAGS) /Fe$@.exe
$(DOCKER) -e WINEPREFIX=/tmp/wineprefix mdashnet/vc98 wine $@.exe
+1
View File
@@ -593,6 +593,7 @@ bool mip_x_test(struct mg_mgr *mgr) {
// Clear
s_error = false;
mg_mgr_poll(mgr, 0); // prevent mDash from trashing mg_mgr_free()
mg_mgr_free(mgr);
ASSERT(mgr->conns == NULL); // Deconstruction OK
printf("HEALTH_DASHBOARD\t\"cleanup\": %s\n", s_error ? "false":"true");