Commit e97ca42
committed
Fix use-after-free crash in iTermProcessMonitor
When child monitors are removed from the tree, their dispatch sources
must be invalidated before the monitor is deallocated. Without this,
the dispatch source is still active when the monitor is freed, causing
a crash in _dispatch_queue_xref_dispose.1 parent 92ea90a commit e97ca42
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
0 commit comments