Move Some Context Preservation Logic into App #326

Closed
mitsuhiko opened this Issue Sep 21, 2011 · 0 comments

1 participant

@mitsuhiko
The Pallets Projects member

Right now a test client can preserve the context for a little longer, so can exceptions. However there is no information if there is a context "on hold" on the stack which leads to the problem that if you continue to trigger exception you build up items on the stack in debug mode for nothing. There should always only be one context on the stack preserved and if another request comes in it should be removed.

This might also make the test client cleaner.

@mitsuhiko mitsuhiko closed this in c631613 Sep 24, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment