Skip to content

Commit

Permalink
Uses "synchronize" for Swinject.Container.
Browse files Browse the repository at this point in the history
  • Loading branch information
mntone committed Jan 18, 2024
1 parent b1c28a1 commit e343764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App/AppAssembly.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Swinject

struct AppAssembly: Assembly {
func assemble(container: Container) {
let app = App(resolver: container)
let app = App(resolver: container.synchronize())
container.register(App.self) { _ in
app
}
Expand Down

0 comments on commit e343764

Please sign in to comment.