diff options
| author | Jeff Carr <[email protected]> | 2023-04-06 18:00:18 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-06 18:00:18 -0500 |
| commit | bf60121b6515681ac505e80cb6824ba6bd978c29 (patch) | |
| tree | cdb87a9169185da1c33827702ef1b405c3d1ed00 /debugGochan.go | |
| parent | 70f8797122741ef61951d3400317173a1d9974da (diff) | |
gocui: callbacks work via a channel
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debugGochan.go')
| -rw-r--r-- | debugGochan.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debugGochan.go b/debugGochan.go index bfabc9b..a3a45c6 100644 --- a/debugGochan.go +++ b/debugGochan.go @@ -64,6 +64,7 @@ func (n *Node) DebugGoChannels(makeWindow bool) { debugWG.Done() }) g.NewButton("close chan", func () { + log("close() on", debugNumberChan) close(debugNumberChan) }) g.NewButton("print", func () { |
