lightningdevkit / lightningdevkit.org

Lightning Development Kit Documentation
https://lightningdevkit.org
MIT License
59 stars 39 forks source link

Update BackgroundProcessor init in Build a Node guide #57

Closed jkczyz closed 3 years ago

jkczyz commented 3 years ago

In Rust, an upcoming change will stop the BackgroundProcessor's thread when the object is dropped. Update the guide to store the BackgroundProcessor in a variable otherwise the thread would be stopped immediately after it is started.

netlify[bot] commented 3 years ago

❌ Deploy Preview for ldk-docs-preview failed.

🔨 Explore the source changes: dde5c14cb4c26d344506701ba7680c7bf88109b1

🔍 Inspect the deploy log: https://app.netlify.com/sites/ldk-docs-preview/deploys/60f471c3d2a3d40008a6c823