mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Merge pull request #4998 from vvanelslande/count
dedicated_room: fix crash (count != 0) when closing the room
This commit is contained in:
		
						commit
						5fa71d425b
					
				
					 1 changed files with 1 additions and 11 deletions
				
			
		|  | @ -353,17 +353,7 @@ int main(int argc, char** argv) { | |||
|             std::string in; | ||||
|             std::cin >> in; | ||||
|             if (in.size() > 0) { | ||||
|                 if (announce) { | ||||
|                     announce_session->Stop(); | ||||
|                 } | ||||
|                 announce_session.reset(); | ||||
|                 // Save the ban list
 | ||||
|                 if (!ban_list_file.empty()) { | ||||
|                     SaveBanList(room->GetBanList(), ban_list_file); | ||||
|                 } | ||||
|                 room->Destroy(); | ||||
|                 Network::Shutdown(); | ||||
|                 return 0; | ||||
|                 break; | ||||
|             } | ||||
|             std::this_thread::sleep_for(std::chrono::milliseconds(100)); | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue