Use auto release refs #351

Merged
cg2121 merged 1 commit from browser-raii into master 2022-07-16 22:26:48 -05:00
cg2121 commented 2022-01-28 23:38:57 -06:00 (Migrated from github.com)

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

  • Code cleanup (non-breaking change which makes code smaller or more readable)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.
### 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 - Code cleanup (non-breaking change which makes code smaller or more readable) ### Checklist: - [x] My code has been run through [clang-format](https://github.com/obsproject/obs-studio/blob/master/.clang-format). - [x] I have read the [**contributing** document](https://github.com/obsproject/obs-studio/blob/master/CONTRIBUTING.rst). - [x] My code is not on the master branch. - [x] The code has been tested. - [x] All commit messages are properly formatted and commits squashed where appropriate. - [x] I have included updates to all appropriate documentation.
WizardCM commented 2022-06-15 08:58:25 -05:00 (Migrated from github.com)

Heads up, this has merge conflicts.

Heads up, this has merge conflicts.
cg2121 commented 2022-07-16 21:51:07 -05:00 (Migrated from github.com)

Fixed merge conflicts.

Fixed merge conflicts.
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-obsproject/obs-browser!351
No description provided.