obsproject / obs-browser

CEF-based OBS Studio browser plugin
GNU General Public License v2.0
781 stars 222 forks source link

Use auto release refs #351

Closed cg2121 closed 2 years ago

cg2121 commented 2 years ago

Description

This sets the refs in the browser source to be automatically released.

Motivation and Context

RAII makes things easier.

How Has This Been Tested?

Tested by adding browser source/panel and made sure there were no memory leaks/bugs.

Types of changes

Checklist:

WizardCM commented 2 years ago

Heads up, this has merge conflicts.

cg2121 commented 2 years ago

Fixed merge conflicts.