The condition that yields in the bindtoclose only yields if the amount of profiles loading>0 AND profiles saving>0. This means that more often than not the BindToClose will not yield at all, causing every profile loaded when the game closes to have a dead session lock.
The condition that yields in the bindtoclose only yields if the amount of profiles loading>0 AND profiles saving>0. This means that more often than not the BindToClose will not yield at all, causing every profile loaded when the game closes to have a dead session lock.