How to stop the WebDav server sonner after JSContext is no longer valid
zwang opened this issue · 3 comments
zwang commented
My use case is that after I am done with one JSContext, I will exit a view and de-reference the JSContext, ABYServer by setting them nil
. I found that the WebDav server still can be connected but when I connect, it will trigger a EXC_BAD_ACCESS
error shown below:
Can I stop the WebDav server as soon as the socket connection is not usable?
mfikes commented
@zwang I suppose Ambly currently has no shutdown lifecycle methods, but it could use them. Happy to take a PR (Ambly is under a CA). Otherwise maybe I can add some lifecycle methods.