sixel tests: notcurses_stop() on early exit

pull/1621/head
nick black 3 years ago
parent eb04a7872a
commit 476d180797
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -147,9 +147,11 @@ TEST_CASE("Sixels") {
// this can only run with a Sixel backend
if(notcurses_check_pixel_support(nc_) <= 0){
CHECK(0 == notcurses_stop(nc_));
return;
}
if(nc_->tcache.color_registers <= 0){
CHECK(0 == notcurses_stop(nc_));
return;
}

Loading…
Cancel
Save