Skip to content

Commit

Permalink
fixup! Refactor: add fiber safety to crystal/once
Browse files Browse the repository at this point in the history
  • Loading branch information
ysbaddaden committed Jan 24, 2025
1 parent 3fba3df commit d3eb541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crystal/once.cr
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ module Crystal
module Once
enum State : Int8
Processing = -1
Uninitialized = 0
Initialized = 1
Uninitialized = 0
Initialized = 1
end

{% if compare_versions(Crystal::VERSION, "1.16.0-dev") >= 0 %}
Expand Down

0 comments on commit d3eb541

Please sign in to comment.