feat: Add parallel HTTP server E2E tests and enhance plugin system
- Add e2e_plugin_net_additional.rs with parallel server tests - Fix test to properly handle request objects (no double accept) - Add comprehensive net-plugin documentation - Implement debug tracing for method calls - Enhance plugin lifecycle documentation - Improve error handling in plugin loader - Add leak tracking infrastructure (for future use) - Update language spec with latest plugin features This enhances test coverage for concurrent HTTP servers and improves the overall plugin system documentation and debugging capabilities. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -39,9 +39,10 @@ impl ScopeTracker {
|
||||
let _ = instance.fini();
|
||||
continue;
|
||||
}
|
||||
// PluginBoxV2: do not auto-finalize (shared handle may be referenced elsewhere)
|
||||
// PluginBoxV2: 明示ライフサイクルに合わせ、スコープ終了時にfini(自己責任運用)
|
||||
#[cfg(all(feature = "plugins", not(target_arch = "wasm32")))]
|
||||
if arc_box.as_any().downcast_ref::<PluginBoxV2>().is_some() {
|
||||
if let Some(p) = arc_box.as_any().downcast_ref::<PluginBoxV2>() {
|
||||
p.finalize_now();
|
||||
continue;
|
||||
}
|
||||
// Builtin and others: no-op for now
|
||||
|
||||
Reference in New Issue
Block a user