• Yeongjin Jeong's avatar
    uri-asset: Ensure that the discoverer stops on deinit. · 05d919a2
    Yeongjin Jeong authored
    Discoverer maintain a referernce on the discoverer object while
    the async timeout callback is alive to prevent a potential crash
    if the object is freed while the callback is pending.
    
    But if g_main_context is released before calling the timeout callback,
    the discoverer pointer which was weak referenced from GESUriClipAssetClass
    will not be disposed because the discoverer object is not finalized.
    05d919a2
ges-uri-asset.c 23.4 KB