MCPcopy Create free account
hub / github.com/bumptop/BumpTop / uninitializeWidget

Method uninitializeWidget

trunk/win/Source/BT_WidgetManager.cpp:317–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317void WidgetManager::uninitializeWidget(Widget * w)
318{
319 // stop watching the widget's working directory
320 fsManager->removeObject(w);
321
322 // TerminateProcess this widget's process
323 if (!w->application.isEmpty() && w->hProcess)
324 TerminateProcess(w->hProcess, 0);
325
326 // delete this widget
327 _widgets.erase(find(_widgets.begin(), _widgets.end(), w));
328 SAFE_DELETE(w);
329}
330
331void WidgetManager::initializeActiveWidgets()
332{

Callers

nothing calls this directly

Calls 6

findFunction · 0.50
removeObjectMethod · 0.45
isEmptyMethod · 0.45
eraseMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected