Replying to Avatar average_bitcoiner

Good morning.

Remember kids, if you have a MutexGuard, you have to drop that shit before doing async things so you're not trying to lock the Mutex during the async call. But don't use the function 'drop()'. Use curly braces to make a scope. Within that scope, clone that bitch out of there into a variable outside the scope then do async shit.

#rust #devstr

Avatar
Felix 1y ago

Thanks this note literally prevented me from doing this😂

Reply to this note

Please Login to reply.

Discussion

Avatar
average_bitcoiner 1y ago

🫡🤝

Thread collapsed
Avatar
average_bitcoiner 1y ago

Whatcha working on?

Avatar
Felix 1y ago

https://f321x.lnaddress.com/robosats-sob.html

Avatar
average_bitcoiner 1y ago

FUCK yes.

Thread collapsed
Thread collapsed
Thread collapsed