Fix a delete on close divergence from windows [2/2]