We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 531132d commit ec7ab6aCopy full SHA for ec7ab6a
plugin/tegg/lib/ctx_lifecycle_middleware.ts
@@ -34,7 +34,7 @@ export default async function ctxLifecycleMiddleware(ctx: TEggPluginContext, nex
34
}
35
36
try {
37
- if (!teggCtx.destroy) {
+ if (teggCtx.destroy) {
38
await teggCtx.destroy(lifecycle);
39
40
} catch (e) {
0 commit comments