Skip to content

Commit fec3d1c

Browse files
committed
fix: [share]Fix share may disconnect on WIFI
On some wifi network, the discovery may lost node and then stop all share. Log: fix share disconnect issue. Bug: no link.
1 parent 13ddf78 commit fec3d1c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/plugins/daemon/core/service/ipc/sendipcservice.cpp

+5-2
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,11 @@ void SendIpcWork::handleNodeChanged(bool found, QString info)
173173
if (s->alive()) {
174174
// fastring session_id(s->getSession().toStdString());
175175
fastring nodeinfo(info.toStdString());
176-
if (!found && s->getName() == "dde-cooperation")
177-
handleStopShareConnect(info, s);
176+
if (!found && s->getName() == "dde-cooperation") {
177+
WLOG << "The node losted from discovery.";
178+
// FIXME: The discovery lost mutli-UDP on some WIFI(unstable)
179+
// handleStopShareConnect(info, s);
180+
}
178181

179182

180183
co::Json req, res;

0 commit comments

Comments
 (0)