finalize needs to be protected not public else will not get invoked

This commit is contained in:
Doug MacEachern 2005-01-20 00:49:12 +00:00
parent c462123080
commit 3da65be191
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ public class Service extends Win32Bindings implements java.io.Serializable
Service.throwLastErrorException();
}
public void finalize()
protected void finalize()
{
this.close();
}