修改严重问题
This commit is contained in:
parent
cf4255bf7f
commit
18653a1fe4
|
@ -58,9 +58,7 @@ public abstract class _RobotBase implements IBasicRobot, Runnable {
|
|||
* Called by the system to 'clean up' after your robot.
|
||||
* You may not override this method.
|
||||
*/
|
||||
@Override
|
||||
protected final void finalize() throws Throwable { // This method must be final so it cannot be overridden!
|
||||
super.finalize();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -115,7 +115,6 @@ public class RobocodeEngine implements IRobocodeEngine {
|
|||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
protected void finalize() throws Throwable {
|
||||
try {
|
||||
// Make sure close() is called to prevent memory leaks
|
||||
|
|
Loading…
Reference in New Issue