Fixed deleting of CObjectManager
* fix in CApplication destructor * re-enabled unit testsdev-ui
parent
40954038ab
commit
cc8ed2979b
|
@ -170,6 +170,9 @@ CApplication::~CApplication()
|
|||
delete m_private;
|
||||
m_private = nullptr;
|
||||
|
||||
delete m_objMan;
|
||||
m_objMan = nullptr;
|
||||
|
||||
delete m_eventQueue;
|
||||
m_eventQueue = nullptr;
|
||||
|
||||
|
|
|
@ -228,7 +228,7 @@ ${LIBSNDFILE_LIBRARY}
|
|||
add_executable(colobot_ut ${COLOBOT_SOURCES} ${UT_SOURCES} ${OPENAL_SOURCES})
|
||||
target_link_libraries(colobot_ut ${LIBS})
|
||||
|
||||
#add_test(colobot_ut ./colobot_ut)
|
||||
add_test(colobot_ut ./colobot_ut)
|
||||
|
||||
# TODO: change the unit cases to independent automated tests to be included in colobot_ut
|
||||
add_subdirectory(common)
|
||||
|
|
Loading…
Reference in New Issue