From 043eb1d9e5db456b9b78c0423cb44716fc81a932 Mon Sep 17 00:00:00 2001 From: dev Date: Tue, 14 May 2019 10:35:41 -0400 Subject: move internal packages to pkg folder and update reverse proxy * set automatic https error type for cert-magic failures * add state to onload and unload methods * update reverse proxy to use Provision() and Cleanup() --- context.go | 1 + 1 file changed, 1 insertion(+) (limited to 'context.go') diff --git a/context.go b/context.go index cfb183a..e437f08 100644 --- a/context.go +++ b/context.go @@ -39,6 +39,7 @@ func NewContext(ctx Context) (Context, context.CancelFunc) { c, cancel := context.WithCancel(ctx.Context) wrappedCancel := func() { cancel() + for modName, modInstances := range newCtx.moduleInstances { for _, inst := range modInstances { if cu, ok := inst.(CleanerUpper); ok { -- cgit v1.2.3