MCPcopy Create free account
hub / github.com/Kistler-Group/sdbus-cpp / deleteSdEventSource

Method deleteSdEventSource

src/Connection.cpp:464–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464void Connection::deleteSdEventSource(sd_event_source *source)
465{
466#if LIBSYSTEMD_VERSION>=243
467 sd_event_source_disable_unref(source);
468#else
469 sd_event_source_set_enabled(source, SD_EVENT_OFF);
470 sd_event_source_unref(source);
471#endif
472}
473
474#endif // SDBUS_basu
475

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected