Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! Refactor: add fiber safety to crystal/once
Browse files Browse the repository at this point in the history
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
@@ -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 %}

0 comments on commit d3eb541

Please sign in to comment.