Merge with latest master

This commit is contained in:
GPayne
2020-02-19 09:25:33 -07:00
parent 79a3b42d06
commit addfa65fa6
230 changed files with 1151 additions and 2270 deletions

View File

@@ -121,7 +121,8 @@ void CefWebGuiModule::startOrStopGui() {
_instance->setZoom(_guiScale);
webBrowserModule->addBrowser(_instance.get());
} else if (_instance) {
}
else if (_instance) {
_instance->close(true);
webBrowserModule->removeBrowser(_instance.get());
webBrowserModule->detachEventHandler();
@@ -176,7 +177,8 @@ void CefWebGuiModule::internalInitialize(const ghoul::Dictionary& configuration)
if (_visible && _instance) {
webBrowserModule->attachEventHandler(_instance.get());
} else {
}
else {
webBrowserModule->detachEventHandler();
}
});