MCPcopy Create free account
hub / github.com/OpenBoardView/OpenBoardView / ~BoardView

Method ~BoardView

src/openboardview/BoardView.cpp:52–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50#endif
51
52BoardView::~BoardView() {
53 if (m_validBoard) {
54 m_board->Nets().clear();
55 m_board->Pins().clear();
56 m_board->Components().clear();
57 m_board->OutlinePoints().clear();
58 m_board->OutlineSegments().clear();
59 delete m_file;
60 delete m_board;
61 m_annotations.Close();
62 m_validBoard = false;
63 }
64}
65
66int BoardView::ConfigParse(void) {
67 ImGuiStyle &style = ImGui::GetStyle();

Callers

nothing calls this directly

Calls 2

CloseMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected