8164748: Edit pad crashes when calling function
Reviewed-by: jlaskey
This commit is contained in:
parent
200608b4c0
commit
87f1cd1d73
@ -172,7 +172,7 @@ public final class Main extends Shell {
|
||||
final Consumer<String> evaluator = str -> {
|
||||
// could be called from different thread (GUI), we need to handle Context set/reset
|
||||
final Global _oldGlobal = Context.getGlobal();
|
||||
final boolean _globalChanged = (oldGlobal != global);
|
||||
final boolean _globalChanged = (_oldGlobal != global);
|
||||
if (_globalChanged) {
|
||||
Context.setGlobal(global);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user