QuantumEntangledAndy / neolink

An RTSP bridge to Reolink IP cameras
GNU Affero General Public License v3.0
331 stars 45 forks source link

tokio-runtime-worker #126

Closed fmarzocca closed 1 year ago

fmarzocca commented 1 year ago

Just installed new version 0.5.16

Now, by launching the command: ./neolink pir <camera-name> --config=/homeAssets/neolink_config.toml

I am getting this error (in addition to the results):

thread 'tokio-runtime-worker' panicked at 'A Tokio 1.x context was found, but it is being shutdown.', /github/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.29.1/src/runtime/time/entry.rs:557:13 note: run withRUST_BACKTRACE=1environment variable to display a backtrace

QuantumEntangledAndy commented 1 year ago

Yeah I have this for image too. Not actually an error. Its just that I don't shutdown all the threads gracefully.

fmarzocca commented 1 year ago

Ah! Ok, just try to be more graceful! :-) :-)

QuantumEntangledAndy commented 1 year ago

Haha yeah its on the todo list. I have a fix in for image but need to add it to the other commands too

QuantumEntangledAndy commented 1 year ago

Changes for this are in, and will be released as part of v0.5.18

QuantumEntangledAndy commented 1 year ago

v0.5.18 is now out so this should be fixed. Please reopen if not