Skip to content

Console stops working if there is an uncatched error in ExternalConsoleCommand of type program #1

Description

@TheNinjask

The thread below never sets isProgramRunning to false

Thread proc = new Thread(() -> {
					program = cmd;
					int result = cmd.executeCommand(args);
					if (cmd.isProgram())
						isProgramRunning.set(false);
					EventManager.triggerEvent(new AfterCommandExecutionExternalConsole(cmd, args, result));
					program = null;
				});

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions