Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed SGX main loop not handling signals properly
Main loop blocks while waiting for client data. For this reason, we can't just check for the stop condition synchronously. In any case, we still need to ensure that the finalise logic is only called once. This commit introduces a global counter to ensure finalise_with is only called once.
- Loading branch information