Commit 8a8091c
committed
Use a shared pointer to bool to check if destructor ran
Destructor may run after the flag has been deleted. Not even Valgrind
caught this.1 parent cfe7aae commit 8a8091c
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4286 | 4286 | | |
4287 | 4287 | | |
4288 | 4288 | | |
4289 | | - | |
| 4289 | + | |
4290 | 4290 | | |
4291 | | - | |
| 4291 | + | |
4292 | 4292 | | |
4293 | | - | |
| 4293 | + | |
4294 | 4294 | | |
4295 | 4295 | | |
4296 | 4296 | | |
| |||
4308 | 4308 | | |
4309 | 4309 | | |
4310 | 4310 | | |
4311 | | - | |
| 4311 | + | |
4312 | 4312 | | |
4313 | 4313 | | |
4314 | 4314 | | |
4315 | 4315 | | |
4316 | 4316 | | |
4317 | | - | |
| 4317 | + | |
4318 | 4318 | | |
4319 | 4319 | | |
4320 | 4320 | | |
| |||
0 commit comments