mirror of
https://github.com/c-cube/linol.git
synced 2026-05-05 08:54:26 -04:00
format
This commit is contained in:
parent
2e7a8f3482
commit
266b911bb3
2 changed files with 6 additions and 7 deletions
|
|
@ -54,8 +54,7 @@ end
|
|||
(** Spawn function. *)
|
||||
let spawn ~sw f =
|
||||
Eio.Fiber.fork ~sw (fun () ->
|
||||
try
|
||||
f ()
|
||||
try f ()
|
||||
with exn ->
|
||||
Printf.eprintf "uncaught exception in `spawn`:\n%s\n%!"
|
||||
(Printexc.to_string exn);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue