Yes, a family pet who attacks other people could also end up euthanized as well, very rarely. The owner of that biting animal would get fined first, forced to use a muzzle on the pet and a leash. If the aggressive behavior continues, victims could ask the court to have the pet destroyed.
See Dog Owner's Liability Act (DOLA) of Ontario for more info.