Skip to content

Fix flaky specs on TruffleRuby - #604

Closed
andrykonchin wants to merge 2 commits into
guard:masterfrom
andrykonchin:ak/fix-flaky-specs-on-truffleruby
Closed

andrykonchin wants to merge 2 commits into
guard:masterfrom
andrykonchin:ak/fix-flaky-specs-on-truffleruby

Conversation

@andrykonchin

Copy link
Copy Markdown
Contributor

No description provided.


def _stop
@run_thread&.kill
@run_thread.kill.join if @run_thread

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/SafeNavigation: Use safe navigation (&.) instead of checking if an object exists before calling the method.


def _stop
@worker_thread&.kill
@worker_thread.kill.join if @worker_thread

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/SafeNavigation: Use safe navigation (&.) instead of checking if an object exists before calling the method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants