1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
mpv ef779ae0da 0031075: Application Framework - reading STEP file into TDocStd_Document leads to memory leaks
In the TDocStd_Owner keep simple pointer to TDocStd_Document instead of Handle. This causes automatic destruction of the document without explicit call of Close.
In Standard_Type added a static variable theType that initializes theRegistry map earlier. Otherwise exit from Draw interpreter crashes in many test-cases because not-closed transactions are aborted on document handle release from Draw theVariables map.

Corrected method for test OCC159bug due to the fact that Owner does not add a ref count now
Close the document in the end of bugs xde bug22776 otherwise double remove of visualization objects (on library exit and on visualization attributes remove from the document) causes crash on exit from draw
Added a new test bugs caf bug31075
2020-06-19 19:08:46 +03:00
..
2012-12-28 18:50:48 +04:00
2012-12-21 16:39:38 +04:00
2012-12-21 16:39:38 +04:00
2012-12-21 16:39:38 +04:00
2012-12-21 16:39:38 +04:00
2017-11-02 17:02:45 +03:00
2013-04-19 10:50:58 +04:00
2018-08-08 18:33:16 +03:00
2013-02-01 17:32:08 +04:00
2013-02-01 17:32:08 +04:00
2016-04-08 11:42:00 +03:00
2013-02-01 17:32:08 +04:00
2013-04-01 11:48:54 +04:00
2016-03-28 17:30:58 +03:00
2016-03-28 17:30:58 +03:00
2017-11-23 13:05:30 +03:00
2018-03-16 15:06:05 +03:00