Skip to content

Commit 541d3c0

Browse files
committed
Fix CitationController crash regression when an error occurs
1 parent 85e7552 commit 541d3c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Zotero/Controllers/Citation/CitationController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ class CitationController: NSObject {
161161
.do(onSuccess: { [weak self] session in
162162
self?.citationWebViewHandlerBySession[session] = citationWebViewHandler
163163
})
164+
.observe(on: MainScheduler.instance)
164165

165166
/// Loads style data.
166167
/// - parameter styleId: Identifier of style

0 commit comments

Comments
 (0)