summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py2/IPython/kernel/__init__.py
diff options
context:
space:
mode:
authorthenewone <[email protected]>2025-09-25 14:15:42 +0300
committerthenewone <[email protected]>2025-09-25 14:52:03 +0300
commit672eea3234a138cd82e1c1956eb63fb3e100caa4 (patch)
tree04c1674164f5663ac222b0c411d2038cb3258213 /contrib/python/ipython/py2/IPython/kernel/__init__.py
parenta5b7f280bb5fb8ab18bc716e631d24a6b721c3fe (diff)
Do not get ref counter when copy weak ptr
Если копировать TWeakPtr в момент разрушения объекта, на который он ссылается, то происходит гонка на vptr. GetRefCounter использует vptr, а деструктор объекта может его менять. Thread-sanitizer эту гонку видит. Unit test added; also fixed and enabled older test. Enabled thread sanitizer for library/cpp/yt/memory. commit_hash:87cb083a9905cc8a262b575868bbae3438b9324f
Diffstat (limited to 'contrib/python/ipython/py2/IPython/kernel/__init__.py')
0 files changed, 0 insertions, 0 deletions