Skip to content

Commit

Permalink
Threading: Publish the runloop
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyl committed Oct 21, 2024
1 parent f267440 commit 81c87c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CornucopiaCore/Threading/RunLoopThread.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public extension Cornucopia.Core {
/// Base class for threads that operate a ``RunLoop``.
open class RunLoopThread: Thread {

private var loop: RunLoop!
public private(set) var loop: RunLoop!
private let semaphore: DispatchSemaphore = .init(value: 0)
private var timer: Timer!

Expand Down

0 comments on commit 81c87c2

Please sign in to comment.