diff options
author | DerTeta <derteta@gmx.de> | 2021-09-25 23:00:17 +0200 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-12-06 22:37:28 +1100 |
commit | 3e3151f86ace9dec0af9f554cb0efaa6f43e1831 (patch) | |
tree | 8b13644ac2db38c1c514b18232fe84fa8bac9bf0 /docs | |
parent | 28cdcddb0ac425e0ef2300135d4a6d6f07a19ab6 (diff) |
Fix: Don't access a view if it's `nil`
The way the `if` expression in `deactivateContext` was composed,
it was possible to have it to evaluate to `true` even though the
`view` variable was `nil`.
As far as I can tell, this seems to be only possible during tests.
Nonetheless, I think the expression looks more "correct" this way.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions