core: upgrade to context tracing

This commit is contained in:
undefined committed 2024-10-05 20:38:20 +08:00
1 parent e79e978b15
commit 28b3abf441
9 files changed
+42 -38

No files matched your search

+1 -3
View File
@@ -194,9 +194,7 @@ class VJudgeService extends Service {
}
// FIXME: potential race condition
if (provider.Langs) this.updateLangs(type, provider.Langs);
this[Context.current]?.on('dispose', () => {
// TODO dispose session
});
// TODO dispose session
}
async updateLangs(provider: string, mapping: Record<string, Partial<LangConfig>>) {