itchio / capsule

🎬 Cross-platform hotkey short video capture for games
GNU General Public License v2.0
177 stars 14 forks source link

all-rust: Killing capsulerun doesn't kill target (on windows) #57

Closed fasterthanlime closed 5 years ago

fasterthanlime commented 5 years ago

But it should - especially when capsulerun exits because injection failed, it leaves behind a suspended process that has capsule.dll loaded.

The answer here is job objects, never used them in rust, we'll see what happens.