golemfactory / gumpi

MPI on Golem Unlimited PoC
GNU Affero General Public License v3.0
2 stars 3 forks source link

Use pseudo-RAII AsyncRelease from gu-actix #47

Open marmistrz opened 5 years ago

marmistrz commented 5 years ago

(remove into_inner) Currently it's tricky, because it's easy to drop the last reference to the hub session while there are still pending network requests. In the future, the implementation of AsyncRelease for gu_client::HubSession will take this into account, and we'll be able to use it instead of the manual cleanup.

Introduced by #40.