Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 55ff640

Browse filesBrowse files
authored
src: name scoped lock
Name a scoped lock to be consistent with all the others. PR-URL: #50010 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent fae1af0 commit 55ff640
Copy full SHA for 55ff640

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/node_messaging.cc‎

Copy file name to clipboardExpand all lines: src/node_messaging.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ void MessagePort::OnMessage(MessageProcessingMode mode) {
795795

796796
size_t processing_limit;
797797
if (mode == MessageProcessingMode::kNormalOperation) {
798-
Mutex::ScopedLock(data_->mutex_);
798+
Mutex::ScopedLock lock(data_->mutex_);
799799
processing_limit = std::max(data_->incoming_messages_.size(),
800800
static_cast<size_t>(1000));
801801
} else {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.