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
when session cache is used, register cleanup at tempContext cleanup and not exit cleanup
It happens we do cleanup in several places, with at least
- renderServices cleanup calling `lifetime.cleanup()`
- exit cleanup calling `exitWithCleanup()`
The problem is that when session cache is used, we need to register cleanup at tempContext cleanup and not just exit cleanup because tempContext cleanup will try to remove the directory in session cache, and it will fail because Deno.kv is still opened.
0 commit comments