Skip to content

frontend: Merge Windows process mitigation functions#13593

Merged
RytoEX merged 1 commit into
obsproject:masterfrom
notr1ch:merge-process-mitigations
Jun 26, 2026
Merged

frontend: Merge Windows process mitigation functions#13593
RytoEX merged 1 commit into
obsproject:masterfrom
notr1ch:merge-process-mitigations

Conversation

@notr1ch

@notr1ch notr1ch commented Jun 25, 2026

Copy link
Copy Markdown
Member

Description

We already started using SetProcessMitigationPolicy before #5164 got merged and we dropped Windows 7 support, so we can do away with the runtime detection too.

Motivation and Context

Remove redundant function and Windows 7 support.

How Has This Been Tested?

Ran OBS on Windows 10.

Types of changes

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

Checklist:

  • I have read the contributing document.
  • My code has been run through clang-format.
  • My code follows the project's style guidelines
  • My code is not on the master branch.
  • My code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@notr1ch notr1ch added kind/cleanup Non-breaking change which makes code smaller or more readable platform/windows Categorizes issue or PR as affecting Windows specifically labels Jun 25, 2026
We already started using SetProcessMitigationPolicy before obsproject#5164 got
merged and we dropped Windows 7 support, so we can do away with the
runtime detection too.
@notr1ch notr1ch force-pushed the merge-process-mitigations branch from ff37d5f to d301e39 Compare June 25, 2026 23:10

@RytoEX RytoEX left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Consolidates the process mitigations, and we no longer support Windows 7.

@RytoEX RytoEX added this to the OBS Studio 32.2 milestone Jun 26, 2026
@RytoEX RytoEX merged commit 091dbee into obsproject:master Jun 26, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/cleanup Non-breaking change which makes code smaller or more readable platform/windows Categorizes issue or PR as affecting Windows specifically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants