mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
fix: IncrementCapturerCount doesn't increase the capturer count (#32973)
This commit is contained in:
@@ -3127,8 +3127,9 @@ void WebContents::IncrementCapturerCount(gin::Arguments* args) {
|
||||
// get stayAwake arguments if they exist
|
||||
args->GetNext(&stay_awake);
|
||||
|
||||
std::ignore =
|
||||
web_contents()->IncrementCapturerCount(size, stay_hidden, stay_awake);
|
||||
std::ignore = web_contents()
|
||||
->IncrementCapturerCount(size, stay_hidden, stay_awake)
|
||||
.Release();
|
||||
}
|
||||
|
||||
void WebContents::DecrementCapturerCount(gin::Arguments* args) {
|
||||
|
||||
Reference in New Issue
Block a user