Changeset 5151:2f26230719b5 in roaraudio
- Timestamp:
- 10/15/11 15:41:15 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/notify.c
r5019 r5151 272 272 int roar_notify_core_emit(struct roar_notify_core * core, struct roar_event * event) { 273 273 struct roar_subscriber * cur; 274 struct roar_error_state errstate; 274 275 275 276 _CKICORE(); … … 303 304 ROAR_ERR("roar_notify_core_emit(core=%p, event=%p): cur=%p, cb is set NULL, bad.", core, event, cur); 304 305 } else { 306 // The callback is started in an clear error context which is destroyed after it finished so it 307 // does not alter our caller's context. 308 roar_err_store(&errstate); 309 roar_err_clear_all(); 310 305 311 cur->cb(core, event, cur->userdata); 312 313 roar_err_restore(&errstate); 306 314 } 307 315 cur = cur->next;
Note: See TracChangeset
for help on using the changeset viewer.