desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: Clicking Clear All throws an error.

Open bitdessert opened this issue 7 months ago • 1 comments

Checks before filing an issue

  • [x] This issue doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
  • [x] I have checked the issue tracker and have not found an issue that matches the one I'm filing. This should include closed issues.
  • [x] This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
  • [x] This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.com/suggestions/.
  • [x] This issue reproduces on the most recent stable version, or the most recent prerelease version of the Mattermost Desktop App.
  • [x] I have read the contribution guidelines.

Mattermost Desktop Version

5.12.1

Operating System

macOS 15.4.1(24E263)

Mattermost Server Version

10.7.2

Steps to reproduce

Click Clear All Data

Expected behavior

Relaunch the app without errors

Observed behavior

App re-launched after error. Error “Object has been destroyed”, please check.

Log Output

Application: Electron 35.2.0 [commit: 97183f6
]
Platform: Darwin 24.4.0 arm64
TypeError: Object has been destroyed
    at webContents (/mattermost-desktop/dist/index.js:146360:32)
    at /mattermost-desktop/dist/index.js:146706:7
    at WebContents.disposable (/mattermost-desktop/dist/index.js:146730:4)
    at Object.onceWrapper (node:events:633:26)
    at WebContents.emit (node:events:530:35)

Additional Information

No response

bitdessert avatar Jun 13 '25 02:06 bitdessert

I can reproduce this. Created a ticket: https://mattermost.atlassian.net/browse/MM-64601

devinbinnie avatar Jun 16 '25 14:06 devinbinnie