Open simov opened 3 years ago
Yes... any further thoughts about this? I don't know if this is easily fixable, but I suppose we could add a function to stop the interval.
Definitely opting out will be awesome. Right now I'm monkey-patching setTimeout so that I can close it on server close ..
Any idea why after
server.close
the process remains running?The session middleware seems to be the cause:
Ok, it's the
scheduleGc
https://github.com/curveball/session/blob/master/src/memorystore.ts#L97 ...