mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix cherry-pick due to files being moved between 6.4 and 6.5
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
56a5c85f55
commit
5bd814be27
@ -3,12 +3,13 @@
|
|||||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
*/
|
*/
|
||||||
import { getInjectable } from "@ogre-tools/injectable";
|
import { getInjectable } from "@ogre-tools/injectable";
|
||||||
import { beforeQuitOfBackEndInjectionToken } from "../start-main-application/runnable-tokens/phases";
|
import { beforeQuitOfBackEndInjectionToken } from "../start-main-application/runnable-tokens/before-quit-of-back-end-injection-token";
|
||||||
import lensProxyInjectable from "./lens-proxy.injectable";
|
import lensProxyInjectable from "./lens-proxy.injectable";
|
||||||
|
|
||||||
const closeLensProxyOnQuitInjectable = getInjectable({
|
const closeLensProxyOnQuitInjectable = getInjectable({
|
||||||
id: "close-lens-proxy-on-quit",
|
id: "close-lens-proxy-on-quit",
|
||||||
instantiate: (di) => ({
|
instantiate: (di) => ({
|
||||||
|
id: "close-lens-proxy-on-quit",
|
||||||
run: async () => {
|
run: async () => {
|
||||||
const lensProxy = di.inject(lensProxyInjectable);
|
const lensProxy = di.inject(lensProxyInjectable);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user