From 9ea4a067f1639b45ab3e62bf2e12d338e22e8119 Mon Sep 17 00:00:00 2001 From: MiaoWoo Date: Wed, 26 Feb 2020 10:36:30 +0800 Subject: [PATCH] feat: unmanaged baseEventDir Signed-off-by: MiaoWoo --- packages/api/src/event.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/api/src/event.ts b/packages/api/src/event.ts index 9a018da6..c6b5656d 100644 --- a/packages/api/src/event.ts +++ b/packages/api/src/event.ts @@ -4,7 +4,7 @@ */ import '@ms/core' import '@ms/nashorn' -import { injectable } from '@ms/container' +import { injectable, unmanaged } from '@ms/container' const Thread = Java.type('java.lang.Thread'); @@ -25,7 +25,7 @@ export namespace event { protected baseEventDir = ''; - constructor(baseEventDir: string) { + constructor(@unmanaged() baseEventDir: string) { this.baseEventDir = baseEventDir; }