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
Is your feature request related to a problem? Please describe.
I am giving Realm access to some memory I have allocated. I want to be able to tell Realm how to delete this memory later on when it is no longer needed. Currently, I need to separately track when the memory is no longer used (somehow) and call the deleter myself.
Describe the solution you'd like
Realm knows best when to delete the memory I have given it. It should know how to do that. I would like to pass a std::function<void(void*)> to Realm::ExternalMemoryResource.