mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
remove esound protocol directory on unload of module-protocol-esound
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@347 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
f1da8ade63
commit
fda09b9255
1 changed files with 7 additions and 0 deletions
|
|
@ -240,5 +240,12 @@ finish:
|
|||
void pa__done(struct pa_core *c, struct pa_module*m) {
|
||||
assert(c && m);
|
||||
|
||||
#if defined(USE_PROTOCOL_ESOUND)
|
||||
if (remove (ESD_UNIX_SOCKET_NAME) != 0)
|
||||
pa_log("%s: Failed to remove %s : %s.\n", __FILE__, ESD_UNIX_SOCKET_NAME, strerror (errno));
|
||||
if (remove (ESD_UNIX_SOCKET_DIR) != 0)
|
||||
pa_log("%s: Failed to remove %s : %s.\n", __FILE__, ESD_UNIX_SOCKET_DIR, strerror (errno));
|
||||
#endif
|
||||
|
||||
protocol_free(m->userdata);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue