public void leave_access(Person p)
	{
		remove_from_active(p);
		if( p.get_actions_left() > 0)
			add_to_queue(p);
		else
			p.deleted_info();
		//this.get_vectors_info();
		if( active_list.isEmpty() )
		{
			status = 0;
			//System.out.println("Wywoluje notify");
			//this.get_vectors_info();
			//notifyAll();
			Person pn = this.getNextPerson();
			if(pn != null)
			{
				this.current_id = pn.get_id();
				//System.out.println("Nastepny"+String.valueOf(this.current_id));
//				if( current_id == 2)
//				{
//				System.out.println("Status: "+String.valueOf(status)+" current_id: "+ String.valueOf(current_id)+" can_get_access: "+String.valueOf(this.can_get_access(pn)));
//				System.out.println(pn.toString());
//				}
			}
		}
		
	}