Skip to content
Snippets Groups Projects
Commit b9905b88 authored by capossele's avatar capossele
Browse files

:bug: fix statusscreen race condition

parent f8c0ebf3
No related branches found
No related tags found
No related merge requests found
......@@ -91,9 +91,9 @@ func run(plugin *node.Plugin) {
return event
})
mutex.RLock()
defer mutex.RUnlock()
app.SetBeforeDrawFunc(func(screen tcell.Screen) bool {
mutex.RLock()
defer mutex.RUnlock()
headerBar.Update()
rows := make([]int, 2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment