Skip to content

Commit

Permalink
refine disabling gpu & fix render-process-gone logging (#1385)
Browse files Browse the repository at this point in the history
* refine disabling gpu & fix render-process-gone logging

* remove comments & bump version number
  • Loading branch information
GrzegorzKozub authored Sep 2, 2024
1 parent 1d9ecda commit de1391e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ function addCommandLineSwitchesAfterConfigLoad() {
if (config.disableGpu) {
console.info('Disabling GPU support...');
app.commandLine.appendSwitch('disable-gpu');
app.commandLine.appendSwitch('disable-gpu-compositing');
app.commandLine.appendSwitch('disable-software-rasterizer');
app.disableHardwareAcceleration();
}
Expand Down Expand Up @@ -203,9 +204,8 @@ async function playNotificationSound(_event, options) {
console.debug('No notification sound played', player, options);
}

function onRenderProcessGone(event, details) {
console.error(`render-process-gone with reason: '${details.reason}'.`);
console.error(`Event '${event}' and details '${details}'`);
function onRenderProcessGone(event, webContents, details) {
console.error(`render-process-gone ${JSON.stringify(details)}`);
app.quit();
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "teams-for-linux",
"version": "1.9.5",
"version": "1.9.6",
"main": "app/index.js",
"description": "Unofficial client for Microsoft Teams for Linux",
"homepage": "https://github.com/IsmaelMartinez/teams-for-linux",
Expand Down

0 comments on commit de1391e

Please sign in to comment.