mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-21 01:46:28 +08:00
judge: compile: add asyncDispose
This commit is contained in:
3 files changed
+4
-1
No files matched your search
@@ -42,7 +42,7 @@ export class JudgeTask {
|
||||
end: (data: Partial<JudgeResultBody>) => void;
|
||||
env: Record<string, string>;
|
||||
callbackCache?: TestCase[];
|
||||
compileCache: Record<string, Pick<Execute, 'execute' | 'copyIn'>> = {};
|
||||
compileCache: Record<string, Pick<Execute, 'execute' | 'copyIn' | typeof Symbol.asyncDispose>> = {};
|
||||
|
||||
constructor(public session: Session, public request: JudgeRequest) {
|
||||
this.stat.receive = new Date();
|
||||
|
||||
Reference in new issue
Block a user