diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-13 09:57:22 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-13 09:57:22 -0400 |
| commit | 59f2eeca22dd15daf9d7765c1709bf926d158faf (patch) | |
| tree | 52167d7b99844bae71b8e59725b8f12f2f450bf5 | |
| parent | e28b791489851b2e5ea6955d29269fa1870c610f (diff) | |
Figured out why I'm getting intermittent crashes. Worked around for now, but will become a major issue soon...
| -rw-r--r-- | redo/future | 4 | ||||
| -rw-r--r-- | redo/zz_test.go | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/redo/future b/redo/future index a4ba079..052e807 100644 --- a/redo/future +++ b/redo/future @@ -39,11 +39,11 @@ Stack, Grid method calls should trigger re-layout of windows default buttons figure out how they interact with Areas (especially on GTK+, where GtkEntry somehow has special handling for this) +in general + new moving stack and future moving heap make package ui a pain in general so I don't forget, some TODOs: windows - backgrounds are not transparent mac os x - applicationShouldTerminate: not handled -general - - changing tabs from a tab with an area seems to be broken now...?? diff --git a/redo/zz_test.go b/redo/zz_test.go index 529c43b..46f00e2 100644 --- a/redo/zz_test.go +++ b/redo/zz_test.go @@ -146,12 +146,16 @@ func (tw *testwin) make(done chan struct{}) { } } +// this must be on the heap thanks to moving stacks +// soon even this won't be enough... +var tw *testwin + // because Cocoa hates being run off the main thread, even if it's run exclusively off the main thread func init() { flag.BoolVar(&spaced, "spaced", false, "enable spacing") flag.Parse() go func() { - tw := new(testwin) + tw = new(testwin) done := make(chan struct{}) Do(func() { tw.make(done) }) <-done |
