fix(all): New templates.

This commit is contained in:
Rodrigo Rodriguez 2024-08-24 00:22:34 -03:00
parent 1d783c303e
commit 3335d5d8a4

View file

@ -343,7 +343,7 @@ export class SystemKeywords {
public async closeHandles({ pid }) { public async closeHandles({ pid }) {
const { min, user } = await DialogKeywords.getProcessInfo(pid); const { min, user } = await DialogKeywords.getProcessInfo(pid);
const memoryBeforeGC = process.memoryUsage().heapUsed / 1024 / 1024; // in MB const memoryBeforeGC = process.memoryUsage().heapUsed / 1024 / 1024; // in MB
delete this.cachedMerge[pid]; delete this.cachedMerge[pid];
// Capture memory usage before GC // Capture memory usage before GC
@ -2348,8 +2348,7 @@ export class SystemKeywords {
valueFound = found[e]; valueFound = found[e];
} }
}); });
found = null;
const equals = const equals =
typeof value === 'string' && typeof valueFound === 'string' typeof value === 'string' && typeof valueFound === 'string'
? value?.toLowerCase() != valueFound?.toLowerCase() ? value?.toLowerCase() != valueFound?.toLowerCase()
@ -2423,6 +2422,7 @@ export class SystemKeywords {
adds++; adds++;
} }
row = null; row = null;
found = null;
} }
// In case of storage, persist to DB in batch. // In case of storage, persist to DB in batch.