forked from orbit-oss/flask
Pass exc explicitly to the inner context.
This commit is contained in:
parent
9bed20c07c
commit
cb54c462b8
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ class RequestContext(object):
|
|||
|
||||
# Get rid of the app as well if necessary.
|
||||
if self._pushed_application_context:
|
||||
self._pushed_application_context.pop()
|
||||
self._pushed_application_context.pop(exc)
|
||||
self._pushed_application_context = None
|
||||
|
||||
def __enter__(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue