summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2024-05-05 15:18:27 +0200
committerStefan Haller <stefan@haller-berlin.de>2024-05-05 15:23:58 +0200
commit10e29ce7dd8ca0105684032953411051ed542273 (patch)
tree275ee042843e3e747a26107ce9a509660c5dabbd /pkg
parent618fe533f8c6113392eea981d03c65e6da5860bb (diff)
Fix deadlock reportingfix-deadlock-reporting
Deadlock reporting broke in e1ceb6892a; since then, it was *off* when running debug builds normally, but *on* when debugging an integration test. Both of which are exactly opposite of what we want.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/gui/gui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index 4bb910bf2..caa385c3b 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -662,7 +662,7 @@ func (gui *Gui) Run(startArgs appTypes.StartArgs) error {
// disable deadlock reporting if we're not running in debug mode, or if
// we're debugging an integration test. In this latter case, stopping at
// breakpoints and stepping through code can easily take more than 30s.
- deadlock.Opts.Disable = !gui.Debug || os.Getenv(components.WAIT_FOR_DEBUGGER_ENV_VAR) == ""
+ deadlock.Opts.Disable = !gui.Debug || os.Getenv(components.WAIT_FOR_DEBUGGER_ENV_VAR) != ""
if err := gui.Config.ReloadUserConfig(); err != nil {
return nil