gh-12940: Fixed new profiles not being able to startup (gh-12944)

This commit is contained in:
mr. m
2026-03-27 14:19:48 +01:00
committed by GitHub
parent ae6fe48777
commit b39b9abc6f
3 changed files with 5 additions and 7 deletions

View File

@@ -151,10 +151,11 @@ export class nsZenSessionManager {
);
const db = await PlacesUtils.promiseDBConnection();
let data = {};
let rows = await db.execute(
"SELECT * FROM zen_workspaces ORDER BY created_at ASC"
);
let rows = [];
try {
rows = await db.execute(
"SELECT * FROM zen_workspaces ORDER BY created_at ASC"
);
data.spaces = rows.map(row => ({
uuid: row.getResultByName("uuid"),
name: row.getResultByName("name"),

View File

@@ -10,9 +10,6 @@ window.ZenWorkspaceBookmarksStorage = {
ChromeUtils.defineESModuleGetters(this.lazy, {
PlacesUtils: "resource://gre/modules/PlacesUtils.sys.mjs",
});
if (!window.gZenWorkspaces) {
return;
}
this.promiseInitialized = new Promise(resolve => {
this._resolveInitialized = resolve;
});

View File

@@ -20,7 +20,7 @@
"brandShortName": "Zen",
"brandFullName": "Zen Browser",
"release": {
"displayVersion": "1.19.4b",
"displayVersion": "1.19.5b",
"github": {
"repo": "zen-browser/desktop"
},