[Spice-devel] [PATCH spice-gtk] Add call of gst_deinit at program exit
Christophe de Dinechin
christophe.de.dinechin at gmail.com
Thu Oct 19 14:13:11 UTC 2017
> On 19 Oct 2017, at 15:10, Daniel P. Berrange <berrange at redhat.com> wrote:
>
> On Thu, Oct 19, 2017 at 03:01:17PM +0200, Christophe de Dinechin wrote:
>>> One reason is that you may use a library dynamically, and you may dlclose() it, and then atexit() will likely crash.
>>
>> Is that a real or theoretical scenario? Who loads this library dynamically
>> currently?
>
> Anyone using SPICE from a non-C language will have dlopen'd it and potentially
> later dlclose it.
Note that here, the symbol passed to atexit is in gstreamer, not in spice.
>
> Regards,
> Daniel
> --
> |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
> |: https://libvirt.org -o- https://fstop138.berrange.com :|
> |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the Spice-devel
mailing list