Merge pull request #184 from simon987/dev

v2.11.1
This commit is contained in:
2021-09-05 20:06:18 -04:00
committed by GitHub
7 changed files with 34 additions and 24 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -43,7 +43,7 @@ export default {
},
methods: {
handleTreeClick(node, e) {
if (e === "indeterminate" || e === "collapsed") {
if (e === "indeterminate" || e === "collapsed" || e === 'rendered' || e === "focused") {
return;
}

View File

@@ -162,7 +162,7 @@ export default {
});
},
handleTreeClick(node, e) {
if (e === "indeterminate" || e === "collapsed" || e === 'rendered') {
if (e === "indeterminate" || e === "collapsed" || e === 'rendered' || e === "focused") {
return;
}

View File

@@ -2,6 +2,8 @@
ScanCtx_t ScanCtx = {
.stat_index_size = 0,
.dbg_current_files = NULL,
.pool = NULL
};
WebCtx_t WebCtx;
IndexCtx_t IndexCtx;

View File

@@ -43,6 +43,7 @@ void sig_handler(int signum) {
LOG_ERROR("*SIGNAL HANDLER*", "=============================================\n\n");
LOG_ERRORF("*SIGNAL HANDLER*", "Uh oh! Caught fatal signal: %s", strsignal(signum));
if (ScanCtx.dbg_current_files != NULL) {
GHashTableIter iter;
g_hash_table_iter_init(&iter, ScanCtx.dbg_current_files);
@@ -65,8 +66,15 @@ void sig_handler(int signum) {
);
}
}
}
if (ScanCtx.pool != NULL) {
tpool_dump_debug_info(ScanCtx.pool);
}
if (IndexCtx.pool != NULL) {
tpool_dump_debug_info(IndexCtx.pool);
}
LOG_INFO(
"*SIGNAL HANDLER*",

View File

@@ -49,7 +49,7 @@
#include <ctype.h>
#include "git_hash.h"
#define VERSION "2.11.0"
#define VERSION "2.11.1"
static const char *const Version = VERSION;
#ifndef SIST_PLATFORM