forked from mirrors/gecko-dev
		
	Bug 1323100 - Stop double-registering the Socket Transport thread. r=froydnj
MozReview-Commit-ID: 7YEC79PwUGg --HG-- extra : rebase_source : 90beae6f131d646ef7ef324a74a65a2d0a6772d6
This commit is contained in:
		
							parent
							
								
									e442f76c87
								
							
						
					
					
						commit
						1713897687
					
				
					 1 changed files with 0 additions and 9 deletions
				
			
		|  | @ -833,11 +833,6 @@ nsSocketTransportService::MarkTheLastElementOfPendingQueue() | ||||||
| NS_IMETHODIMP | NS_IMETHODIMP | ||||||
| nsSocketTransportService::Run() | nsSocketTransportService::Run() | ||||||
| { | { | ||||||
| #ifdef MOZ_ENABLE_PROFILER_SPS |  | ||||||
|     char stackBaseGuess; // Need to be the first variable of main loop function.
 |  | ||||||
|     profiler_register_thread(PR_GetThreadName(PR_GetCurrentThread()), &stackBaseGuess); |  | ||||||
| #endif // MOZ_ENABLE_PROFILER_SPS
 |  | ||||||
| 
 |  | ||||||
|     SOCKET_LOG(("STS thread init %d sockets\n", gMaxCount)); |     SOCKET_LOG(("STS thread init %d sockets\n", gMaxCount)); | ||||||
| 
 | 
 | ||||||
|     psm::InitializeSSLServerCertVerificationThreads(); |     psm::InitializeSSLServerCertVerificationThreads(); | ||||||
|  | @ -1019,10 +1014,6 @@ nsSocketTransportService::Run() | ||||||
| 
 | 
 | ||||||
|     SOCKET_LOG(("STS thread exit\n")); |     SOCKET_LOG(("STS thread exit\n")); | ||||||
| 
 | 
 | ||||||
| #ifdef MOZ_ENABLE_PROFILER_SPS |  | ||||||
|     profiler_unregister_thread(); |  | ||||||
| #endif // MOZ_ENABLE_PROFILER_SPS
 |  | ||||||
| 
 |  | ||||||
|     return NS_OK; |     return NS_OK; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Markus Stange
						Markus Stange