Commit d09dfd6
Remove unsafe LOG() call in destructor/shutdown disconnect path
LOG() internally acquires the GIL via py::gil_scoped_acquire, which is
unsafe during interpreter shutdown or stack unwinding — it can deadlock
or trigger std::terminate(). Replace with a comment explaining why
logging is intentionally skipped.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b753411 commit d09dfd6
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
168 | 170 | | |
169 | 171 | | |
170 | 172 | | |
| |||
0 commit comments