adventurous-noon-47444
03/12/2023, 10:31 AMcargo shuttle stop
After stopping project bot runs still and only cargo shuttle project rm is able to take it down.
I'm almost certain that the problem is that I do not shut down connections with shard manager like shown here:
https://github.com/serenity-rs/serenity/blob/f42ec021126fe8bb07158631e871a17ee70acbf2/examples/e06_sample_bot_structure/src/main.rs#L103
The problem is, I don't know where to attach to capture shutdown signal on shuttle to shutdown the connections.
For local development I use https://lib.rs/crates/serenity_ctrlc and it works fine, but it seems like shuttle stops deployment differentlykind-area-3810
03/12/2023, 11:11 AMproject rm will stop a deployment properly. We are going to fix this in next weeks release, though.adventurous-noon-47444
03/12/2023, 12:39 PM