aboutsummaryrefslogtreecommitdiffstats
path: root/lib/open.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-03-25 09:27:20 +0100
committerRobin Jarry <robin@jarry.cc>2022-03-25 13:03:04 +0100
commit73b64f2bf94a5be27e1feccb87cc95c4b7b8a08b (patch)
treebb3feb94196639e69a3ebeba8c634286496b1ebb /lib/open.go
parent037676f7ccdd1ec00a3328ee7062000d5b8aab51 (diff)
downloadaerc-73b64f2bf94a5be27e1feccb87cc95c4b7b8a08b.tar.gz
completion: install panic handler in completion callback
This callback is actually invoked in a goroutine by time.AfterFunc. The panic handler must be explicitly installed. Link: https://github.com/golang/go/blob/go1.18/src/time/sleep.go#L160-L173 Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'lib/open.go')
0 files changed, 0 insertions, 0 deletions