Skip to content

Commit 4d4afd7

Browse files
cardmagicclaude
andcommitted
refactor: reset the wake-up through one path
`reset!` cleared `@wake_up` directly, which now writes the memo without the lock that `wake_up` reads it under, and left the once-only pooled session warning armed. It calls `reset_wake_up!` instead. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 39af457 commit 4d4afd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/solid_objects.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,11 @@ def mutable_copy(value)
183183
# @rbs () -> void
184184
def reset!
185185
ProcessRegistry.reset_polling_warning! if defined?(ProcessRegistry)
186+
reset_wake_up!
186187
@configuration = Configuration.new
187188
@registry = ActorRegistry.new
188189
@client = nil
189190
@database_adapter = nil
190-
@wake_up = nil
191191
@caller_process = nil
192192
@effect_registry = EffectRegistry.new
193193
@commit_action_registry = CommitActionRegistry.new

0 commit comments

Comments
 (0)