mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: upgrade to context tracing
This commit is contained in:
9 files changed
+42
-38
No files matched your search
@@ -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>>) {
|
||||
|
||||
Reference in new issue
Block a user