Closed
Bug 1344902
Opened 8 years ago
Closed 7 years ago
Shutdown error: 'Method not implemented' when calling method: [imIAccount::disconnect]
Categories
(Thunderbird :: Instant Messaging, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 60.0
People
(Reporter: aleth, Assigned: freaktechnik)
References
Details
Attachments
(1 file, 2 obsolete files)
1.15 KB,
patch
|
florian
:
review+
|
Details | Diff | Splinter Review |
On shutdown with a connected IRC account:
JavaScript error: file:Daily.app/Contents/Resources/components/imIncomingServer.js, line 228: uncaught exception: 2147500033
JavaScript error: file:Daily.app/Contents/Resources/components/imIncomingServer.js, line 228: NS_ERROR_NOT_IMPLEMENTED: Method not implemented'Method not implemented' when calling method: [imIAccount::disconnect]
Reporter | ||
Updated•8 years ago
|
Version: unspecified → 52 Branch
Assignee | ||
Comment 1•7 years ago
|
||
Usually when shutdown is called, the imAccounts have already been disconnected and replaced by UnknownAccounts. In that case, we don't want to try to disconnect them.
Assignee | ||
Comment 2•7 years ago
|
||
Oops, that was not the patch it was meant to be.
Attachment #8957017 -
Attachment is obsolete: true
Attachment #8957017 -
Flags: review?(florian)
Attachment #8957018 -
Flags: review?(florian)
Comment 3•7 years ago
|
||
Comment on attachment 8957018 [details] [diff] [review]
bug1344902-v1.1.patch
Review of attachment 8957018 [details] [diff] [review]:
-----------------------------------------------------------------
::: mail/components/im/imIncomingServer.js
@@ +219,5 @@
> closeCachedConnections: function() { },
>
> // Shutdown the server instance so at least disconnect from the server.
> shutdown: function() {
> + // Ensure this is not an UnknownAccount and still connected.
This can't be an UnknownAccount. As discussed on IRC, what you are seeing is https://dxr.mozilla.org/comm-central/source/chat/components/src/imAccounts.js#637
So I think you want if (this.imAccount.prplAccount)
Attachment #8957018 -
Flags: review?(florian) → review-
Assignee | ||
Comment 4•7 years ago
|
||
Change to checking if an imAccount has been un-inited, as discussed. Fixes the problem for me and disconnecting seems to still work generally.
Attachment #8957018 -
Attachment is obsolete: true
Attachment #8957209 -
Flags: review?(florian)
Comment 5•7 years ago
|
||
Comment on attachment 8957209 [details] [diff] [review]
bug1344902-v2.patch
Review of attachment 8957209 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8957209 -
Flags: review?(florian) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/1261ad9b3329
Don't try to disconnect dummy accounts. r=florian
Updated•7 years ago
|
Target Milestone: --- → Thunderbird 60.0
You need to log in
before you can comment on or make changes to this bug.
Description
•