Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Qt4 database push bug fix (#1879)
Browse files Browse the repository at this point in the history
* Commenting out the two connect() lines that cause the segfaults. They don't seem to be required for cleanup, and databases are pushed successfully to the server.

Co-authored-by: David Sugar <[email protected]>
  • Loading branch information
tst-mswartz and tst-dsugar committed Dec 30, 2020
1 parent 13a0e4c commit 97ac23d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions earth_enterprise/src/fusion/fusionui/AssetManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ void AssetManager::PushDatabase(const gstAssetHandle& handle) {
QObject::connect(&progress_dialog, SIGNAL(canceled()),
&push_assistant, SLOT(SetCanceled()));
QObject::connect(&push_thread, SIGNAL(sfinished()), &push_assistant, SLOT(Stop()));
QObject::connect(&push_thread, SIGNAL(sfinished()), &push_thread, SLOT(deleteLater()));
// TODO: may still need? QObject::connect(&push_thread, SIGNAL(sfinished()), &push_thread, SLOT(deleteLater()));

push_thread.start();
push_assistant.Start();
Expand Down Expand Up @@ -1401,7 +1401,7 @@ void AssetManager::PublishDatabase(const gstAssetHandle& handle) {
&publish_assistant, SLOT(SetCanceled()));
QObject::connect(
&publish_thread, SIGNAL(sfinished()), &publish_assistant, SLOT(Stop()));
QObject::connect(&publish_thread, SIGNAL(sfinished()), &publish_thread, SLOT(deleteLater()));
// TODO: May still need? QObject::connect(&publish_thread, SIGNAL(sfinished()), &publish_thread, SLOT(deleteLater()));

publish_thread.start();
publish_assistant.Start();
Expand Down

0 comments on commit 97ac23d

Please sign in to comment.