mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
don't leak debugged process via cached toString() method in user data
This commit is contained in:
@@ -54,6 +54,10 @@ public abstract class DebuggerUtils {
|
||||
"byte", "short", "int", "long", "float", "double", "boolean", "char"
|
||||
));
|
||||
|
||||
public static void cleanupAfterProcessFinish(DebugProcess debugProcess) {
|
||||
debugProcess.putUserData(TO_STRING_METHOD_KEY, null);
|
||||
}
|
||||
|
||||
@NonNls
|
||||
public static String getValueAsString(final EvaluationContext evaluationContext, Value value) throws EvaluateException {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user