fix the memory thing, fix create font, more simon lighting stuff

This commit is contained in:
benfry
2005-04-18 21:07:14 +00:00
parent de6846efdd
commit 9ce4e3f001
7 changed files with 191 additions and 31 deletions

View File

@@ -129,6 +129,7 @@ public class Client implements Runnable {
} catch (Exception e) {
e.printStackTrace();
}
thread = null;
input = null;
output = null;
@@ -145,7 +146,8 @@ public class Client implements Runnable {
public void run() {
while (Thread.currentThread() == thread) {
try {
while (input.available() > 0) { // this will block
while ((input != null) &&
(input.available() > 0)) { // this will block
synchronized (buffer) {
if (bufferLast == buffer.length) {
byte temp[] = new byte[bufferLast << 1];