Remove assert that can fail in batch mode

This commit is contained in:
David Capello 2019-03-15 16:26:10 -03:00
parent de5dbe5e24
commit 79601567c5

View File

@ -81,7 +81,9 @@ void Transaction::setNewDocRange(const DocRange& range)
void Transaction::commit()
{
ui::assert_ui_thread();
// This assert can fail when we run scripts in batch mode
//ui::assert_ui_thread();
ASSERT(m_cmds);
TX_TRACE("TX: Commit <%s>\n", m_cmds->label().c_str());