aerc/lib/ui
Simon Ser de122b16ee lib/ui: fix UI.Exit race condition
UI.Exit can be accessed from goroutines drawing, goroutines executing
commands and goroutines waiting for events.

    Write at 0x00c0002b2040 by main goroutine:
      main.main.func1()
          /home/simon/src/aerc2/aerc.go:76 +0x33d
      git.sr.ht/~sircmpwn/aerc2/widgets.(*Aerc).BeginExCommand.func1()
          /home/simon/src/aerc2/widgets/aerc.go:245 +0x89
      git.sr.ht/~sircmpwn/aerc2/widgets.(*ExLine).Event()
          /home/simon/src/aerc2/widgets/exline.go:131 +0x442
      git.sr.ht/~sircmpwn/aerc2/widgets.(*Aerc).Event()
          /home/simon/src/aerc2/widgets/aerc.go:116 +0x83c
      git.sr.ht/~sircmpwn/aerc2/widgets.(*Aerc).simulate()
          /home/simon/src/aerc2/widgets/aerc.go:109 +0x12a
      git.sr.ht/~sircmpwn/aerc2/widgets.(*Aerc).Event()
          /home/simon/src/aerc2/widgets/aerc.go:142 +0x722
      git.sr.ht/~sircmpwn/aerc2/lib/ui.(*UI).Tick()
          /home/simon/src/aerc2/lib/ui/ui.go:75 +0x33f
      main.main()
          /home/simon/src/aerc2/aerc.go:94 +0x497

    Previous read at 0x00c0002b2040 by goroutine 19:
      git.sr.ht/~sircmpwn/aerc2/lib/ui.Initialize.func1()
          /home/simon/src/aerc2/lib/ui/ui.go:45 +0x97

    Goroutine 19 (running) created at:
      git.sr.ht/~sircmpwn/aerc2/lib/ui.Initialize()
          /home/simon/src/aerc2/lib/ui/ui.go:44 +0x372
      main.main()
          /home/simon/src/aerc2/aerc.go:87 +0x3a9
2019-05-05 01:07:44 -04:00
..
borders.go lib/ui: introduce Invalidatable 2019-04-27 14:30:28 -04:00
context.go Add cursor handling in ex line 2019-01-14 08:07:24 -05:00
fill.go switch to tcell from termbox 2018-06-01 16:04:43 -07:00
grid.go lib/ui: fix Grid race condition 2019-05-05 01:06:39 -04:00
interfaces.go Add basic terminal widget 2019-03-17 14:02:33 -04:00
invalidatable.go lib/ui: introduce Invalidatable 2019-04-27 14:30:28 -04:00
stack.go Implement the Container interface in lib/ui/ 2019-01-20 15:06:44 -05:00
tab.go Use tcell.Style.Reverse instead of black on white 2019-03-30 12:59:18 -04:00
text.go lib/ui: introduce Invalidatable 2019-04-27 14:30:28 -04:00
ui.go lib/ui: fix UI.Exit race condition 2019-05-05 01:07:44 -04:00