We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c6535d commit d19c2c1Copy full SHA for d19c2c1
src/libponyrt/actor/actor.c
@@ -198,9 +198,8 @@ static void maybe_mark_should_mute(pony_ctx_t* ctx, pony_actor_t* to)
198
// 2. the sender isn't overloaded or under pressure
199
// AND
200
// 3. we are sending to another actor (as compared to sending to self)
201
- if(ctx->current != to && triggers_muting(to) &&
202
- !has_sync_flag_any(ctx->current, SYNC_FLAG_OVERLOADED |
203
- SYNC_FLAG_UNDER_PRESSURE))
+ if(ctx->current != to && !has_sync_flag_any(ctx->current,
+ SYNC_FLAG_OVERLOADED | SYNC_FLAG_UNDER_PRESSURE) && triggers_muting(to))
204
{
205
ctx->should_mute_actor = true;
206
0 commit comments