Removed SIGSEGV when delete an empty room