diff --git a/lib/modules/Concurrent.pmod b/lib/modules/Concurrent.pmod index eb91a0c88421918f03593ce9abe65a204aded559..c8890522f0330751e2c99f73b225cf972f89c0a6 100644 --- a/lib/modules/Concurrent.pmod +++ b/lib/modules/Concurrent.pmod @@ -656,7 +656,7 @@ class Future { (backend ? backend->remove_call_out : remove_call_out)(call_out_handle); p->try_success(0); - } + }; /* NB: try_* variants as the original promise may get fulfilled * after the timeout has occurred. */