Fix error when _cs is None during teardown
1 file changed