<i>Trying to increment refCount of previously disposed object</i> status still Open with 4 other changes
by
.
D 2012-06-21T21:31:00
J icomment I\salso\stried\sto\savoid\susing\sthat\sm_tablePaths\sarray,\sand\sthis\sseemed\sto\savoid\sthe\scrash\swhile\srunning\sthe\sscript.\sHowever,\sa\ssimilar\scrash\shappened\swhen\sI\sstopped\sthe\sscript\sand\stried\sto\sdestroy\sthe\sitcl\sobject\sand\sm_tablePaths,\swhich\sI\sthink\snarrows\sthe\sproblem\sto\sonly\sthis\sarray.\n\nThis\sis\swhat\sthe\stcl\scode\ssurrounding\sm_tablePaths\slooks\slike:\n\nitcl::class\sItableMgr\s\\\n{\nprivate\svariable\sm_tablePaths\n\nitcl::body\sItableMgr::AddTable\s{\stableId}\s\\\n{\n...\nset\sm_tablePaths($tableId)\s$tablePath\n...\n}\n\nitcl::body\sItableMgr::DestroyRow\s{\srow\s{tableId\s0}\s}\s\\\n{\n...\npdb::DestroyRow\s$m_tablePaths($tableId)\s$row\n...\n}\n\nitcl::body\sItableMgr::CreateRow\s{\srow\s{tableId\s0}\s}\s\\\n{\n...\npdb::CreateRow\s$m_tablePaths($tableId)\s$row\n...\n}\n\n}\n\nitcl::class\sIdevice12685\s\\\n{\ninherit\sItableMgr\npublic\smethod\sSetRadiusAttributes\s{\sargs\s}\s\\\n{\n...\nforeach\srow\s$tableRow\s\\\n{\nDestroyRow\s$row\sRadiusAttributes\n}\n...\nforeach\srow\s$tableRow\s\\\n{\nCreateRow\s$row\sRadiusAttributes\n}\n\n}\n}\n\nAddTable\sis\sonly\scalled\sonce\sto\sassociate\stableId\swith\sa\stablePath.\sDestroyRow/CreateRow\sis\sthen\scalled\srepeatedly.\sThere's\snothing\selse\sthat\stouches\sm_tablePaths.\s\n
J login jhexan
J mimetype text/plain
J username jhexan
K 3532258fffffffffffffffffffffffffffffffff
U jhexan
Z 27d21b4a4d7d099188ebee1db94ccfc8