]> Untitled Git - lemmy.git/commit
Fix process shutdown (#3673)
authorNutomic <me@nutomic.com>
Thu, 20 Jul 2023 15:36:48 +0000 (17:36 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Jul 2023 15:36:48 +0000 (11:36 -0400)
commitccc122100e86b826505c7aff44a95b034959df58
tree09434b87b60073b749c9536e7437ae41253ab17f
parent1a164a649e187d32185458fc2d5ab08515320880
Fix process shutdown (#3673)

I noticed that stopping the Lemmy process with ctrl+c wasnt working
because the activity channel isnt properly closed. This is now fixed.

Later we should also move the channel from static into LemmyContext,
Im not doing that now to avoid conflicts with #3670.
crates/api_common/src/send_activity.rs
src/lib.rs