Skip to content

Commit

Permalink
Merge pull request #60 from enthought/fix-obj-deleted-error
Browse files Browse the repository at this point in the history
Keep a reference of access manager to prevent jigna crash.
  • Loading branch information
mchilvers committed Sep 24, 2015
2 parents 641222a + b08af5c commit b5df16c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jigna/__init__.py
@@ -1 +1 @@
__version__ = '0.9'
__version__ = '0.9.1'
4 changes: 2 additions & 2 deletions jigna/core/proxy_qwebview.py
Expand Up @@ -41,8 +41,8 @@ def __init__(

# Install custom access manager to delegate requests to custom WSGI
# hosts.
access_manager = ProxyAccessManager(hosts=hosts)
self.page().setNetworkAccessManager(access_manager)
self._access_manager = ProxyAccessManager(hosts=hosts)
self.page().setNetworkAccessManager(self._access_manager)

# Disable some actions
for action in self.DISABLED_ACTIONS:
Expand Down

0 comments on commit b5df16c

Please sign in to comment.