mirror of https://gitlab.com/scemama/qmcchem.git
Try except to clean tmpdir
This commit is contained in:
parent
517fd0898c
commit
453a29d607
|
@ -465,6 +465,13 @@ let run ezfio_filename dataserver =
|
|||
end;
|
||||
|
||||
(* Wait for the qmc process to complete *)
|
||||
ignore (Watchdog.join ());
|
||||
terminate ()
|
||||
try
|
||||
ignore (Watchdog.join ());
|
||||
terminate ()
|
||||
with
|
||||
| error ->
|
||||
begin
|
||||
terminate ();
|
||||
raise error
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue