public void cleanup(Env env) { QuercusClass qClass = getQuercusClass(); AbstractFunction fun = qClass.getDestructor(); if (fun != null) { fun.callMethod(env, qClass, this); } }