finalize needs to be protected not public else will not get invoked
This commit is contained in:
		
							parent
							
								
									c462123080
								
							
						
					
					
						commit
						3da65be191
					
				@ -120,7 +120,7 @@ public class Service extends Win32Bindings implements java.io.Serializable
 | 
			
		||||
            Service.throwLastErrorException();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void finalize()
 | 
			
		||||
    protected void finalize()
 | 
			
		||||
    {
 | 
			
		||||
        this.close();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user