Change ComposeViewController.xcbSession to be weak
This commit is contained in:
parent
039faa9007
commit
2f6cd78919
|
@ -50,7 +50,8 @@ class ComposeViewController: UIViewController {
|
|||
var mentioningAcct: String?
|
||||
var text: String?
|
||||
|
||||
var xcbSession: XCBSession?
|
||||
// Weak so that if a new session is initiated (i.e. XCBManager.currentSession is changed) while the current one is in progress, this one will be released
|
||||
weak var xcbSession: XCBSession?
|
||||
|
||||
var contentWarning = false {
|
||||
didSet {
|
||||
|
|
Loading…
Reference in New Issue