Skip to content

Commit

Permalink
Close Api state too.
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiamac committed Feb 26, 2015
1 parent 35cf13c commit 280a41f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apiserver/common/testing/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func (s BlockHelper) BlockRemoveObject(c *gc.C, msg string) {

func (s BlockHelper) Close() {
s.client.Close()
s.ApiState.Close()
}

// BlockDestroyEnvironment blocks destroy-environment.
Expand Down

0 comments on commit 280a41f

Please sign in to comment.