mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 13:00:25 +02:00
add manual garbage collection
This commit is contained in:
@@ -497,6 +497,9 @@ if (shouldDisableMediaFeatures) {
|
||||
// https://github.com/electron/electron/issues/46538#issuecomment-2808806722
|
||||
app.commandLine.appendSwitch('gtk-version', '3');
|
||||
|
||||
// Enable garbage collection API
|
||||
app.commandLine.appendSwitch('js-flags', '--expose-gc');
|
||||
|
||||
// Must duplicate with the one in renderer process settings.store.ts
|
||||
enum BindingActions {
|
||||
GLOBAL_SEARCH = 'globalSearch',
|
||||
|
||||
Reference in New Issue
Block a user