[BUG] native library unloads on both sides
Describe the bug unloading module on server side, will unload native requirements, while client side uses them
To Reproduce
Example module with native dll requirement
SV: dotnet_load("Example")
CL: dotnet_load("Example")
SV: dotnet_unload("Example")
CL: try use code from native library
CL: System.AccessViolationException // something like nullpointerexception
Expected behavior
not unload native requirement
- [x] Garry's Mod Windows
i'm working on making my module server sided.
this can't be done easily i think.
it's not critical.
just todo maybe
@SupinePandora43 Can we have a code to reproduce?
@SupinePandora43 Can we have a code to reproduce?
It only require module with native requirements
@SupinePandora43 Can you also tell us a version of GmodDotNet you have been using?
will test on 0.7.0-alpha.2.26877661.new-load-model
It crashes now