Commit 062b4b6
Suppress GLib critical warnings that crash test runners
.NET finalizers call MsiCloseHandle during shutdown, which can trigger
g_object_unref on objects whose GLib type state is partially torn down.
Install a silent log handler for GLib-GObject CRITICAL messages so that
stderr output does not trigger false crash detection in test frameworks.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 81532cb commit 062b4b6
1 file changed
Lines changed: 19 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 7 | | |
23 | 8 | | |
24 | 9 | | |
| |||
242 | 227 | | |
243 | 228 | | |
244 | 229 | | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
| 230 | + | |
| 231 | + | |
251 | 232 | | |
252 | 233 | | |
253 | 234 | | |
| |||
293 | 274 | | |
294 | 275 | | |
295 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
296 | 287 | | |
297 | 288 | | |
298 | 289 | | |
| |||
303 | 294 | | |
304 | 295 | | |
305 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
306 | 304 | | |
0 commit comments