mirror of
https://github.com/go-gst/go-gst.git
synced 2025-11-01 12:02:34 +08:00
dont let gotk3 set finalizers
This commit is contained in:
@@ -21,7 +21,7 @@ func (p *PluginFeature) GetPlugin() *Plugin {
|
||||
if plugin == nil {
|
||||
return nil
|
||||
}
|
||||
return wrapPlugin(glib.Take(unsafe.Pointer(plugin)))
|
||||
return wrapPlugin(&glib.Object{GObject: glib.ToGObject(unsafe.Pointer(plugin))})
|
||||
}
|
||||
|
||||
// GetPluginName returns the name of the plugin that provides this feature.
|
||||
|
||||
Reference in New Issue
Block a user