diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-09-15 13:16:31 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-09-15 20:50:38 +0200 |
commit | c7df28d6325bcb67e9d075192d9fa357417984e7 (patch) | |
tree | 7bafcecadb7093b0360d944c045939875684838a /commands/account/compose.go | |
parent | cf319129de36a2832674466e28bfa2dbb9bfc0cc (diff) | |
download | aerc-c7df28d6325bcb67e9d075192d9fa357417984e7.tar.gz |
terminal: check for context before calling it's methods
The terminal widget internally uses several context methods. Check that
context is not nil before calling any method to prevent panics.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/account/compose.go')
0 files changed, 0 insertions, 0 deletions