Permalink
Please sign in to comment.
Browse files
Merge pull request #6643 from axw/lp1645729-watcher-dispose
apiserver: dispose facade object on watcher.Stop When we stop a watcher, we will now dispose of the facade object that is cached upon creation. Unless we do this, the cache grows every time a watcher is started, and only cleared when the API connection is severed. Fixes the issue noted in https://bugs.launchpad.net/juju-core/+bug/1645729, but for the develop branch
- Loading branch information...
Showing
with
154 additions
and 132 deletions.
- +3 −0 apiserver/controller/controller_test.go
- +6 −0 apiserver/facade/facadetest/context.go
- +9 −0 apiserver/facade/interface.go
- +23 −7 apiserver/root.go
- +70 −114 apiserver/watcher.go
- +43 −11 apiserver/watcher_test.go
Oops, something went wrong.
0 comments on commit
cd41f25