BBS: TELESC.NET.BR
Assunto: Win32 debug heap assertion after reading a cached filter filter while
De: Rob Swindell
Data: Thu, 12 Mar 2026 12:56:13 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/issues/1099#note_8568
i.e.
```
static void cleanup(int code)
{
int i;
if (protected_uint32_value(thread_count) > 1) {
lprintf(LOG_INFO, "0000 Waiting for %d child threads to terminate", protected_uint32_value(thread_count) - 1);
while (protected_uint32_value(thread_count) > 1) {
mswait(100);
}
lprintf(LOG_INFO, "0000 Done waiting for child threads to terminate");
}
ip_can.listed("");
free_cfg(&scfg);
```
With this change, it ~~never ~~ still crashes in `ip_can.reset()` on occasion.
n
---
mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net
-----------------------------------------------------------
[Voltar]