Thank you very much for the report and the test program! This helps me immensively to reproduce the problem.
The autoclose issue is a bug. The fix for it is simple - the shutdown is always killing Chrome instead of checking whether it should try to do that:
sub close {
...
if( $_[0]->{autoclose} ) {
$_[0]->kill_child( $_[0]->{cleanup_signal}, $pid, $_[0]->{wait
+_file} );
}
}
But now I have to think about what my test suite tests and how I can test this case better... Then I will release a fixed version :)