Alive thread implemented

This commit is contained in:
2026-04-11 09:50:59 +02:00
parent 8e5381fda2
commit 52aa0cac10
10 changed files with 215 additions and 31 deletions

View File

@@ -473,6 +473,16 @@ int Rktwebview_qt::nextHandle()
return h;
}
void Rktwebview_qt::closeAllWindows()
{
auto wvs = _views.keys();
int i;
for(i = 0; i < wvs.size(); i++) {
int wv = wvs[i];
rktWebViewClose(wv);
}
}
rkt_wv_context_t Rktwebview_qt::newContext(const QString &boilerplate_js, bool has_pem, const QString &optional_server_cert_pem)
{
Command c(COMMAND_NEW_CONTEXT);