Skip to main content

clear_new_roblox_instances

Function clear_new_roblox_instances 

Source
pub fn clear_new_roblox_instances(
    helper: Option<&Path>,
    cleared: &mut HashSet<u32>,
) -> Result<(), String>
Expand description

Lets the next Roblox client open alongside running ones.

Holds Roblox’s singleton name as a mutex, so clients started afterwards can’t create the shared event and never signal or wait on each other. When a client already owns the event, the helper closes the handle of each process not yet in cleared, once, and the name is held after that. cleared drops IDs that have exited. Does nothing outside Windows.