Skip to content
Snippets Groups Projects
  • George Kiagiadakis's avatar
    38f65ca9
    m-lua-scripting: do stop the lua engine on deactivate() · 38f65ca9
    George Kiagiadakis authored
    deactivate() is normally called from WpCore's dispose() and
    that's too late to convert a weak WpCore ref to a strong one,
    so we cannot find the WpConfiguration and remove the engine.
    So, keep a reference to the WpConfiguration earlier.
    
    If the engine is not stopped on time, proxies on the export_core
    are destroyed after their core and pipewire complains
    38f65ca9
    History
    m-lua-scripting: do stop the lua engine on deactivate()
    George Kiagiadakis authored
    deactivate() is normally called from WpCore's dispose() and
    that's too late to convert a weak WpCore ref to a strong one,
    so we cannot find the WpConfiguration and remove the engine.
    So, keep a reference to the WpConfiguration earlier.
    
    If the engine is not stopped on time, proxies on the export_core
    are destroyed after their core and pipewire complains