разлекаюсь ловлей зомби
Jul. 6th, 2004 03:55 pmpublic class Undead
{
private static ArrayList zombieTrap = new ArrayList();
~Undead()
{
zombieTrap.Add(this);
}
}
There are very few good uses of resurrection, and you really should avoid it if possible. However, when people do use resurrection, they usually want the object to clean itself up gracefully every time the object dies.В принципе, становится понятно, что жпс, андеды и прочие зомби - это баги в gc там, наверху.
(no subject)
Date: 2004-07-07 01:18 pm (UTC)It is Russian.