Skip to content

Commit

Permalink
Address comment: Remove lock annotation
Browse files Browse the repository at this point in the history
Closes: #49451
Signed-off-by: Chi-Sheng Liu <[email protected]>
  • Loading branch information
MortalHappiness committed Mar 4, 2025
1 parent 13096b1 commit 08fbd01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ray/core_worker/context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ bool WorkerContext::CurrentActorIsAsync() const {
return current_actor_is_asyncio_;
}

void WorkerContext::SetCurrentActorShouldExit() ABSL_LOCKS_EXCLUDED(mutex_) {
void WorkerContext::SetCurrentActorShouldExit() {
absl::WriterMutexLock lock(&mutex_);
RAY_CHECK(!current_actor_id_.IsNil());
current_actor_should_exit_ = true;
Expand Down

0 comments on commit 08fbd01

Please sign in to comment.