Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

fix: Fixes cannot getContent of undefined bug when run TASKBAR=false and Close Window then re-open it #439

Merged
merged 2 commits into from
Feb 21, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/fether-electron/src/main/app/messages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default async (fetherAppWindow, event, action, ...args) => {
}
switch (action) {
case 'app-resize': {
if (!args[0]) {
if (!fetherAppWindow || !args[0]) {
return;
}
const [width] = fetherAppWindow.getContentSize();
Expand Down