Skip to content

Commit da92a5d

Browse files
committed
add TODO
1 parent 44217eb commit da92a5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/event.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ impl ldk_events::EventHandler for LdkLiteEventHandler {
312312
let min = time_forwardable.as_millis() as u64;
313313

314314
// TODO: any way we still can use tokio here?
315+
// TODO: stop this thread on shutdown
315316
thread::spawn(move || {
316317
let millis_to_sleep = thread_rng().gen_range(min..min * 5) as u64;
317318
thread::sleep(Duration::from_millis(millis_to_sleep));

0 commit comments

Comments
 (0)