You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a software which needs jna to interact with a custom dll. Normally it works properly but sometimes it throws invalid memory access when the software calls loadLibrary, but I dont know why. It seems that the dll breaks..
If I had any errors in the library, it will never work, won't it??
I will appreciate any help!
Thankss!!
Mai
The text was updated successfully, but these errors were encountered:
…ess#344)
Motivation:
We need to delete the previous created global references to ensure we not leak native memory
Modifications:
Use the correct function to delete the global references
Result:
No native memory leak
Hello!
I have a software which needs jna to interact with a custom dll. Normally it works properly but sometimes it throws invalid memory access when the software calls loadLibrary, but I dont know why. It seems that the dll breaks..
If I had any errors in the library, it will never work, won't it??
I will appreciate any help!
Thankss!!
Mai
The text was updated successfully, but these errors were encountered: