Skip to content

Commit

Permalink
bugfix: the thread-level classloader in ConfigManager is switched to …
Browse files Browse the repository at this point in the history
…the instance-level classloader (#69)
  • Loading branch information
wardseptember authored Nov 27, 2024
1 parent b1c8a46 commit a3dda78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ protected void startInternal() throws Exception {
// 7) register service
serverConfig.register();
// 8) cache startup class loader
cachedClassLoader = Thread.currentThread().getContextClassLoader();
cachedClassLoader = ConfigManager.getInstance().getClass().getClassLoader();
}

private void warmupCodec() {
Expand Down

0 comments on commit a3dda78

Please sign in to comment.