We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right now there's no call to liblcm implementation of lcm_eventlog_free_event .
liblcm
lcm_eventlog_free_event
I've currently manually implemented it as:
function lcm_event_destroy(event::Ptr{LCMCore.lcm_eventlog_event_t}) ccall( (:lcm_eventlog_free_event, LCMCore.liblcm), Cvoid, (Ptr{LCMCore.lcm_eventlog_event_t}, ), event ) end
But otherwise, when iterating event by event through a log file, the allocated memory is never cleared.
The text was updated successfully, but these errors were encountered:
add lcm_event_destroy (not used yet)
e30e44b
related to #62 but not a complete fix yet
Hi @venabled , thanks for posting. When do you suggest the calling the event_destroy function -- after the user has finished in the callback function?
Sorry, something went wrong.
copied the new function in here (Thanks!) e30e44b
I was using it mostly in Log-file reading, so didn't have a "callback" per se, but I think that would be a good default place to have it.
No branches or pull requests
Right now there's no call to
liblcm
implementation oflcm_eventlog_free_event
.I've currently manually implemented it as:
But otherwise, when iterating event by event through a log file, the allocated memory is never cleared.
The text was updated successfully, but these errors were encountered: