rust-lightning/lightning-background-processor/src
Jeffrey Czyz 4f05db6af8
Stop BackgroundProcessor's thread on drop
Without stopping the thread when BackgroundProcessor is dropped, it will
run free. In the context of language bindings, it is difficult to know
how long references held by the thread should live. Implement Drop to
stop the thread just as is done when explicitly calling stop().
2021-07-18 13:11:01 -05:00
..
lib.rs Stop BackgroundProcessor's thread on drop 2021-07-18 13:11:01 -05:00