Commit eee260c
committed
rtc: quietly skip FfiHandle drop in fork children
FfiHandle.__del__ runs when a child GCs handles inherited across fork().
It routes through FfiClient.instance, which now raises the fork guard, so
Python prints 'Exception ignored in __del__' to stderr. Swallow the guard
in dispose(): the handle belongs to the parent's FFI and is reclaimed on
process exit anyway.1 parent 9f7b9bb commit eee260c
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
87 | 94 | | |
88 | 95 | | |
89 | 96 | | |
| |||
0 commit comments