Commit dff0192d authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

npapi: plugin_base: Ensure ownership of a listener is transfered to the event wrapper

parent 66862ee2
......@@ -266,7 +266,7 @@ bool VlcPluginBase::handle_event(void *)
struct AsyncEventWrapper
AsyncEventWrapper(NPP b, npapi::Variant l, npapi::VariantArray a)
AsyncEventWrapper(NPP b, npapi::Variant&& l, npapi::VariantArray&& a)
: browser( b )
, listener( std::move( l ) )
, args( std::move( a ) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment