GraphicsProgramming / GraphicsProgramming/learnd3d11
Update deconstructor(chain) in all projects
未關閉
cpp-project
good first issue
- 主要語言
- C++
- 星號
- 199
- 分支
- 29
- PR 合併指標
- 30 天內沒有已合併 PR
描述
```cpp
DearImGuiApplication::~DearImGuiApplication()
{
...
Application::Cleanup();
}
Application::~Application()
{
Application::Cleanup();
}
void Application::Cleanup()
{
glfwDestroyWindow(_window);
glfwTerminate();
}
```
looks fishy
貢獻指南
研究方向
首先,在各個專案中定位 DearImGuiApplication::~DearImGuiApplication、Application::~Application 和 Application::Cleanup。追蹤解構函式鏈,以及 issue 中所示的 GLFW 視窗呼叫和終止呼叫。當每個受影響的專案中的清理責任都明確無歧義,且資源不會被清理多次時,即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cpp
- 領域
- computer-graphics
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100