CodeEditApp / CodeEditApp/CodeEdit
🐞 malloc Exception When Previously Temporary Tab is Closed
未關閉
bug
- 主要語言
- Swift
- 星號
- 23k
- 分支
- 1.2k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### Description
> See commented code in `EditorAreaView.swift`
A malloc exception occurs when the following happens:
- Open a file
- Edit the file, activating the onReceive modifier and marking the tab as no longer temporary
- Close the file using the tab button
- Exception occurs.
### Version Information
CodeEdit: main branch, see comment in pr #1879
### Additional Context
_No response_
### Screenshots
_No response_
貢獻指南
研究方向
從 EditorAreaView.swift 中被註解的程式碼開始,並重現所描述的操作順序:開啟檔案、編輯檔案,然後使用分頁按鈕關閉分頁。在 onReceive 修飾器將分頁標記為非暫時後,追蹤 malloc exception;當相同的操作順序能在不發生例外的情況下關閉檔案時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- swift
- 領域
- desktop
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100