Skip to content

Commit

Permalink
Fix reflection warning
Browse files Browse the repository at this point in the history
  • Loading branch information
djblue committed Apr 13, 2023
1 parent 3e393f6 commit f3a6656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/portal/runtime.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
(defonce request (atom nil))

(defn- set-timeout [f timeout]
#?(:clj (future (Thread/sleep timeout) (f))
#?(:clj (future (Thread/sleep ^long timeout) (f))
:cljr (future (System.Threading.Thread/Sleep timeout) (f))
:cljs (js/setTimeout f timeout)))

Expand Down

0 comments on commit f3a6656

Please sign in to comment.