Merge "Ignore nullptr in native_handle_close()."