You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run a simple program to init_fs() and shutdown_fs() Assise multiple times in the same process.
But I faced some issues with the socket connections being cleaned up properly. My guess is that Assise previously relied on OS cleaning up the socket descriptors during the cleanup of the process, which will not happen if we reinitialize LibFS in the same process.
I have taken a stab at fixing this and it works for my specific use case where I use it in local mode (strata mode).
I am trying to run a simple program to
init_fs()
andshutdown_fs()
Assise multiple times in the same process.But I faced some issues with the socket connections being cleaned up properly. My guess is that Assise previously relied on OS cleaning up the socket descriptors during the cleanup of the process, which will not happen if we reinitialize LibFS in the same process.
I have taken a stab at fixing this and it works for my specific use case where I use it in local mode (strata mode).
Here is the pull request: #19
Would be great if you could review this.
Also, here is the sample program that I was trying to make it work for:
Thanks!
The text was updated successfully, but these errors were encountered: