summaryrefslogtreecommitdiff
path: root/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'context.go')
-rw-r--r--context.go1
1 files changed, 1 insertions, 0 deletions
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 {