Commits

Ryan Kistner  committed b050434

going to pretend it's not there.

  • Participants
  • Parent commits e60538c

Comments (0)

Files changed (2)

File steam_api/apitest/main.cpp

 	qq.m_SteamCallResultLobbyMatchList.Set(hSteamAPICall, &qq, &CLobbyBrowser::OnLobbyMatchListCallback );
 
 
-	while(true)
+	for(int i = 0; i < 10; i++)
 	{
 		SteamAPI_RunCallbacks();
+		Sleep(100);
 	}
 
 	SteamAPI_Shutdown();

File steam_api/callbacks.cpp

 
 void CallbackManager::UnRegisterCallback(CCallbackBase *callback)
 {
-	// send help!
 	int iCallback = callback->GetICallback();
+
 	std::pair<CallbacksMap::iterator, CallbacksMap::iterator> range = callbacks.equal_range( iCallback );
 
 	CallbacksMap::const_iterator iter = range.first;