$S_load_stat['U_first_loop']++;
if (($user = Bin5_user::load_data($table_idx, $proxy_step['i'], $sess)) == FALSE) {
- Bin5::unlock_data();
+ Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
return (unrecerror());
}
// Aggiorna l'expire time lato server
$S_load_stat['U_first_loop']++;
if (($user = User::load_data($proxy_step['i'], $sess)) == FALSE) {
- Room::unlock_data();
+ Room::unlock_data($sem);
ignore_user_abort(FALSE);
return (unrecerror());
}
$S_load_stat['R_garbage']++;
if (($room = Room::load_data()) == FALSE) {
- Room::unlock_data();
+ Room::unlock_data($sem);
ignore_user_abort(FALSE);
return (unrecerror());
}
$sem = Room::lock_data();
$S_load_stat['U_heavy']++;
if (($user = User::load_data($proxy_step['i'], $sess)) == FALSE) {
- Room::unlock_data();
+ Room::unlock_data($sem);
ignore_user_abort(FALSE);
return (unrecerror());
}