diff options
author | 2019-03-08 17:34:27 +0100 | |
---|---|---|
committer | 2019-03-08 08:34:27 -0800 | |
commit | baa45d935540601c07977e4d786e0953165cf1fa (patch) | |
tree | eee0423829cd4b8fb6306620edd8e85bc6fdaed8 /src/containers | |
parent | fix(Linux): Fix minimized window focusing (#1304) (@skoruppa) (diff) | |
download | ferdium-app-baa45d935540601c07977e4d786e0953165cf1fa.tar.gz ferdium-app-baa45d935540601c07977e4d786e0953165cf1fa.tar.zst ferdium-app-baa45d935540601c07977e4d786e0953165cf1fa.zip |
Fix/service webview unmounting (#1328)
* detach service when underlying webview unmounts
* disable no-param-reassign eslint rule
Diffstat (limited to 'src/containers')
-rw-r--r-- | src/containers/layout/AppLayoutContainer.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/containers/layout/AppLayoutContainer.js b/src/containers/layout/AppLayoutContainer.js index 749912c59..5a05ce431 100644 --- a/src/containers/layout/AppLayoutContainer.js +++ b/src/containers/layout/AppLayoutContainer.js | |||
@@ -42,6 +42,7 @@ export default @inject('stores', 'actions') @observer class AppLayoutContainer e | |||
42 | setActive, | 42 | setActive, |
43 | handleIPCMessage, | 43 | handleIPCMessage, |
44 | setWebviewReference, | 44 | setWebviewReference, |
45 | detachService, | ||
45 | openWindow, | 46 | openWindow, |
46 | reorder, | 47 | reorder, |
47 | reload, | 48 | reload, |
@@ -105,6 +106,7 @@ export default @inject('stores', 'actions') @observer class AppLayoutContainer e | |||
105 | services={services.allDisplayedUnordered} | 106 | services={services.allDisplayedUnordered} |
106 | handleIPCMessage={handleIPCMessage} | 107 | handleIPCMessage={handleIPCMessage} |
107 | setWebviewReference={setWebviewReference} | 108 | setWebviewReference={setWebviewReference} |
109 | detachService={detachService} | ||
108 | openWindow={openWindow} | 110 | openWindow={openWindow} |
109 | reload={reload} | 111 | reload={reload} |
110 | openSettings={openSettings} | 112 | openSettings={openSettings} |
@@ -160,6 +162,7 @@ AppLayoutContainer.wrappedComponent.propTypes = { | |||
160 | toggleAudio: PropTypes.func.isRequired, | 162 | toggleAudio: PropTypes.func.isRequired, |
161 | handleIPCMessage: PropTypes.func.isRequired, | 163 | handleIPCMessage: PropTypes.func.isRequired, |
162 | setWebviewReference: PropTypes.func.isRequired, | 164 | setWebviewReference: PropTypes.func.isRequired, |
165 | detachService: PropTypes.func.isRequired, | ||
163 | openWindow: PropTypes.func.isRequired, | 166 | openWindow: PropTypes.func.isRequired, |
164 | reloadUpdatedServices: PropTypes.func.isRequired, | 167 | reloadUpdatedServices: PropTypes.func.isRequired, |
165 | updateService: PropTypes.func.isRequired, | 168 | updateService: PropTypes.func.isRequired, |