Skip to content

Commit b4506a6

Browse files
committed
Fix rpc timeout stop
1 parent 912ce4e commit b4506a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Client_Side_RPC.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ class Client_Side_RPC : public IAPI_Implementation {
132132
continue;
133133
}
134134
#endif // THINGSBOARD_ENABLE_STL
135-
rpc_request.Stop_Timeout_Timer();
135+
auto & request_timeout = rpc_request.Get_Request_Timeout();
136+
request_timeout.Stop_Timeout_Timer();
136137
rpc_request.Call_Callback(data);
137138

138139
// Delete callback because the changes have been requested and the callback is no longer needed

0 commit comments

Comments
 (0)