Permalink
Browse files

Corrigido problemas com o reload da AtividadeSubjetiva.

  • Loading branch information...
1 parent efff375 commit 09a354cd0af693ac286073b369f854a2f8f15524 @gilbertofarias gilbertofarias committed Mar 25, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 src/iged/gerenciadorAtividade/AtividadeSubjetiva.java
@@ -88,11 +88,12 @@ public void run(){
@Override
public void reinicio() {
- if((this.exec != null) && (this.exec.isAlive())){
- this.exec.interrupt();
- this.sem = new Semaphore(1, true);
+ try {
+ sem.acquire();
+ sem.release();
+ } catch (InterruptedException ex){
}
-
+
iter.clear();
this.inicio();
}

0 comments on commit 09a354c

Please sign in to comment.