| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bd83dea commit 12d8251
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -61,7 +61,8 @@ public class Client implements Runnable { | |||
| 61 | 61 | int bufferIndex; | |
| 62 | 62 | int bufferLast; | |
| 63 | 63 | ||
| 64 | - boolean isDisposeRegistered = false; | ||
| 64 | + boolean disposeRegistered = false; | ||
| 65 | + | ||
| 65 | 66 | ||
| 66 | 67 | /** | |
| 67 | 68 | * @param parent typically use "this" | |
@@ -82,7 +83,7 @@ public Client(PApplet parent, String host, int port) { | |||
| 82 | 83 | thread.start(); | |
| 83 | 84 | ||
| 84 | 85 | parent.registerMethod("dispose", this); | |
| 85 | - isDisposeRegistered = true; | ||
| 86 | + disposeRegistered = true; | ||
| 86 | 87 | ||
| 87 | 88 | // reflection to check whether host sketch has a call for | |
| 88 | 89 | // public void clientEvent(processing.net.Client) | |
@@ -160,9 +161,9 @@ public void stop() { | |||
| 160 | 161 | disconnectEventMethod = null; | |
| 161 | 162 | } | |
| 162 | 163 | } | |
| 163 | - if(isDisposeRegistered){ | ||
| 164 | + if (disposeRegistered) { | ||
| 164 | 165 | parent.unregisterMethod("dispose", this); | |
| 165 | - isDisposeRegistered = false; | ||
| 166 | + disposeRegistered = false; | ||
| 166 | 167 | } | |
| 167 | 168 | dispose(); | |
| 168 | 169 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -75,6 +75,9 @@ X https://github.com/processing/processing/pull/3132 | |||
| 75 | 75 | X offer to install libraries imported libraries that are not available | |
| 76 | 76 | X https://github.com/processing/processing/pull/3155 | |
| 77 | 77 | X https://github.com/processing/processing/issues/2566 | |
| 78 | + X make fatal errors terminate the pde | ||
| 79 | + X https://github.com/processing/processing/issues/3068 | ||
| 80 | + X https://github.com/processing/processing/pull/3069 | ||
| 78 | 81 | ||
| 79 | 82 | manindra | |
| 80 | 83 | X Fix for "Probably a ++ should go here" messages | |
@@ -139,6 +142,9 @@ X https://github.com/processing/processing/pull/3138 | |||
| 139 | 142 | X https://github.com/processing/processing/issues/3136 | |
| 140 | 143 | X Display download percentage when fetching contrib info | |
| 141 | 144 | X https://github.com/processing/processing/pull/3161 | |
| 145 | + X Recreating Client instance will cause an out-of-memory error | ||
| 146 | + X https://github.com/processing/processing/issues/1400 | ||
| 147 | + X https://github.com/processing/processing/pull/3088 | ||
| 142 | 148 | ||
| 143 | 149 | integration of pdex | |
| 144 | 150 | X changed JLS4 to JLS8 (but make sure it doesn't introduce anything too weird) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments