mirror of
https://github.com/processing/processing4.git
synced 2026-02-02 13:21:07 +01:00
remove double thread crap (make mac happy), fix full screen for mrj, auto-updater code
This commit is contained in:
@@ -34,6 +34,8 @@ public class PdeRunner implements Runnable {
|
||||
|
||||
|
||||
public void start() {
|
||||
run();
|
||||
/*
|
||||
if (thread != null) {
|
||||
try {
|
||||
thread.stop();
|
||||
@@ -42,6 +44,7 @@ public class PdeRunner implements Runnable {
|
||||
}
|
||||
thread = new Thread(this, "PdeRunner");
|
||||
thread.start();
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
@@ -138,10 +141,12 @@ public class PdeRunner implements Runnable {
|
||||
public void stop() {
|
||||
if (engine != null) {
|
||||
engine.stop();
|
||||
/*
|
||||
if (forceStop) {
|
||||
thread.stop();
|
||||
thread = null;
|
||||
}
|
||||
*/
|
||||
engine = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user