[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() {
|
||||
FoeiProcessFactory.bindFoeiProcess(foeiProcess);
|
||||
try {
|
||||
runnable.run();
|
||||
} finally {
|
||||
FoeiProcessFactory.unbindFoeiProcess();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue