Skip to content

Commit 852f1ad

Browse files
committed
fix crashes in script component
that code was guarded by !PLATFORM(QT) which I overlooked and unconditionalized leaving the code, deleting the data should not be done Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
1 parent 8378b13 commit 852f1ad

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/3rdparty/javascriptcore/JavaScriptCore/wtf/ThreadSpecific.h

-2
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ inline void ThreadSpecific<T>::destroy(void* ptr)
140140

141141
data->value->~T();
142142
fastFree(data->value);
143-
144-
delete data;
145143
#endif
146144
}
147145

0 commit comments

Comments
 (0)