From Michael Thomas: reinstate blocking of super.finalize().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2749 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -621,6 +621,13 @@ public class TGraphics2D extends Graphics2D
|
|||||||
_primary.dispose();
|
_primary.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void finalize ()
|
||||||
|
{
|
||||||
|
// We don't want to have our super's finalize called because that will end up calling
|
||||||
|
// dispose() which we don't want.
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString ()
|
public String toString ()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user