[yield] always erase bitmap planes on the standard pile #2298

pull/2303/head
nick black 3 years ago
parent 2a924812c1
commit 67c3f64dc2
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -265,6 +265,8 @@ int yield_demo(struct notcurses* nc){
ret = pthread_join(t1, NULL) | pthread_join(t2, NULL);
ncplane_destroy(label);
ncplane_reparent(m1.vopts.n, notcurses_stdplane(nc));
ncplane_reparent(m2.vopts.n, notcurses_stdplane(nc));
ncplane_destroy(m1.vopts.n);
ncplane_destroy(m2.vopts.n);
ncvisual_destroy(v1);

Loading…
Cancel
Save