[svn r324] added extra finally safty check
This commit is contained in:
parent
faad156640
commit
21f99c5634
|
@ -64,7 +64,10 @@ public class FoeiProcessRunnableWrapper implements Runnable {
|
||||||
*/
|
*/
|
||||||
public void run() {
|
public void run() {
|
||||||
FoeiProcessFactory.bindFoeiProcess(foeiProcess);
|
FoeiProcessFactory.bindFoeiProcess(foeiProcess);
|
||||||
|
try {
|
||||||
runnable.run();
|
runnable.run();
|
||||||
|
} finally {
|
||||||
FoeiProcessFactory.unbindFoeiProcess();
|
FoeiProcessFactory.unbindFoeiProcess();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue