fix: "terminal: fix race when closing a terminal"
I applied the wrong version of this patch. Link: https://lists.sr.ht/~rjarry/aerc-devel/patches/32482 Signed-off-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
parent
1bac87e804
commit
600913015d
1 changed files with 0 additions and 3 deletions
|
@ -203,9 +203,6 @@ func (term *Terminal) Close(err error) {
|
|||
}
|
||||
|
||||
func (term *Terminal) Destroy() {
|
||||
term.closeMutex.Lock()
|
||||
defer term.closeMutex.Unlock()
|
||||
|
||||
if term.destroyed {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue