Skip to content

Commit

Permalink
WebcamPanel does not refresh after it is resumed, fixes #37
Browse files Browse the repository at this point in the history
  • Loading branch information
sarxos committed Feb 8, 2013
1 parent 6f31781 commit e2a66bb
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -195,9 +195,9 @@ public void run() {

image = tmp;

if (paused) {
while (paused) {
synchronized (this) {
this.wait();
this.wait(250);
}
}
}
Expand Down Expand Up @@ -422,6 +422,9 @@ public void resume() {
return;
}
paused = false;
synchronized (repainter) {
repainter.notifyAll();
}
}

/**
Expand Down

0 comments on commit e2a66bb

Please sign in to comment.