Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Exit ledger-worker process on quit signal #357

Merged

Conversation

krau612
Copy link

@krau612 krau612 commented Oct 21, 2017

An issue was reported on reddit saying that instances of Ark were still running after the client was closed. I found that the ledger-worker was not being closed when ArkClient was closed, so ledger-worker.js and main.js were still running.

I fixed it by calling process.exit() in ledger-worker when it receives a quit message. All parts of the client now exit completely when the window is closed.

Copy link
Member

@alexbarnsley alexbarnsley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't fault it 👍

@luciorubeens
Copy link
Contributor

sounds good! 👍🏻 +5

@boldninja boldninja mentioned this pull request Nov 21, 2017
alexbarnsley pushed a commit that referenced this pull request Dec 3, 2018
* feat: add a new property to networks: `subunit`

* feat: allow formatting currencies by the subunit (arktoshi) instead of unit (ARK)

* feat: adapt the `InputCurrency` component to include it on the transfer modal

* feat: implement `currency_unitToSub`

* feat: admit using "," as decimal separator on `InputCurrency`

* refactor: currency mixin

* test: check that now numbers on the `InputCurrency` could use "," as decimal separator
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants