Skip to content
New issue

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

libtizplatform: allow null handles passed to tiz_event_io_destroy and tiz_event_timer_destroy #80

Closed
tizonia opened this issue May 23, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@tizonia
Copy link
Owner

commented May 23, 2014

Currently these two functions assert the handle against NULL

assert (NULL != ap_ev_io);
assert (NULL != ap_ev_timer);

which creates an obligation on client code to check the handles agains NULL before using these functions. This is not optimal. Better to replace the assert with an if statement so that the check is done in the library instead of in the client code.

@tizonia tizonia added this to the OpenMAX IL 0.1.0 milestone May 23, 2014

@tizonia tizonia added the bug label May 23, 2014

@juanrubio juanrubio closed this in d0c3b9c May 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.