Remove debug message when removing function
This commit is contained in:
parent
1857ff79c5
commit
262ba9d5e3
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ public final class RhinoCore {
|
||||||
if (oldFunctions.contains(prop) && prop instanceof NativeFunction) {
|
if (oldFunctions.contains(prop) && prop instanceof NativeFunction) {
|
||||||
// if this is a function compiled from script, it's from the
|
// if this is a function compiled from script, it's from the
|
||||||
// old generation and wasn't renewed -- delete it.
|
// old generation and wasn't renewed -- delete it.
|
||||||
System.err.println("DELETING OLD FUNC: "+key);
|
// System.err.println("DELETING OLD FUNC: "+key);
|
||||||
try {
|
try {
|
||||||
((ScriptableObject) op).setAttributes(key, op, 0);
|
((ScriptableObject) op).setAttributes(key, op, 0);
|
||||||
op.delete(key);
|
op.delete(key);
|
||||||
|
|
Loading…
Add table
Reference in a new issue