C# Cleanup

Systematically free resources from the plugin adapter, and destroy the `VectorLine` too.