Fix issue with clearing the map of native objects without clearing the ReferenceQueue. Caused exception in NativeObjectManager when Android recreated the OpenGL context before objects were polled from the ReferenceQueue.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10889 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
		
							parent
							
								
									256f1c9229
								
							
						
					
					
						commit
						21f9aac4ce
					
				| @ -237,6 +237,7 @@ public class NativeObjectManager { | |||||||
|             } |             } | ||||||
|         } |         } | ||||||
|         refMap.clear(); |         refMap.clear(); | ||||||
|  |         refQueue = new ReferenceQueue<Object>(); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| //    public void printObjects(){ | //    public void printObjects(){ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user