fixed nasty bug where tor circuits was causing gevent to leak threads
This commit is contained in:
		
							parent
							
								
									022fbaa1af
								
							
						
					
					
						commit
						e6181bdd1f
					
				
					 12 changed files with 47 additions and 39 deletions
				
			
		|  | @ -50,6 +50,7 @@ def event(event_name, data = {}, threaded = True): | |||
|     ''' | ||||
| 
 | ||||
|     if threaded: | ||||
|         print('threaded event', event_name) | ||||
|         thread = Thread(target = __event_caller, args = (event_name, data)) | ||||
|         thread.start() | ||||
|         return thread | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue