Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:Update
systemd.578
0004-sd-bus-when-an-event-loop-terminates-expli...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0004-sd-bus-when-an-event-loop-terminates-explicitly-clos.patch of Package systemd.578
From 7bb4d371af5ec6b8c50b71d2a80c2866d8134d9a Mon Sep 17 00:00:00 2001 From: Lennart Poettering <lennart@poettering.net> Date: Wed, 2 Jul 2014 17:36:47 +0200 Subject: [PATCH] sd-bus: when an event loop terminates, explicitly close the bus This makes sure we actually release the bus and all the messages it references. --- src/libsystemd/sd-bus/sd-bus.c | 1 + 1 file changed, 1 insertion(+) diff --git src/libsystemd/sd-bus/sd-bus.c src/libsystemd/sd-bus/sd-bus.c index d52afe8..eb267d4 100644 --- src/libsystemd/sd-bus/sd-bus.c +++ src/libsystemd/sd-bus/sd-bus.c @@ -2940,6 +2940,7 @@ static int quit_callback(sd_event_source *event, void *userdata) { assert(event); sd_bus_flush(bus); + sd_bus_close(bus); return 1; } -- 1.7.9.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor