Skip to content

Commit

Permalink
Small improvement to remove Swiftlint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Pietro Caselani committed Dec 16, 2019
1 parent 540566a commit cc9d107
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CouchTrackerCore/Core/ThreadWithRunLoop.swift
@@ -1,11 +1,9 @@
import Foundation

final class ThreadWithRunLoop: Thread {
// swiftlint:disable implicitly_unwrapped_optional
var runLoop: RunLoop!
let runLoop = RunLoop.current

override func main() {
runLoop = RunLoop.current
runLoop.add(Port(), forMode: .common)
runLoop.run()
}
Expand Down

0 comments on commit cc9d107

Please sign in to comment.