3
0
Fork 0

[svn r324] added extra finally safty check

This commit is contained in:
willemc 2008-02-16 04:14:57 +01:00
parent faad156640
commit 21f99c5634

View file

@ -64,7 +64,10 @@ public class FoeiProcessRunnableWrapper implements Runnable {
*/ */
public void run() { public void run() {
FoeiProcessFactory.bindFoeiProcess(foeiProcess); FoeiProcessFactory.bindFoeiProcess(foeiProcess);
runnable.run(); try {
FoeiProcessFactory.unbindFoeiProcess(); runnable.run();
} finally {
FoeiProcessFactory.unbindFoeiProcess();
}
} }
} }