Skip to content
This repository was archived by the owner on Mar 8, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Assets/com.vladfaust.unitywakatime/Editor/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ static void SendHeartbeat(bool fromSave = false) {
operation => {
if (request.downloadHandler.text == string.Empty) {
Debug.LogWarning(
"<WakaTime> Network is unreachable. Consider disabling completely if you're working offline");
"<WakaTime> Network is unreachable. Consider disabling completely if you're working offline");
request.Dispose();
return;
}

Expand All @@ -172,7 +173,9 @@ static void SendHeartbeat(bool fromSave = false) {
else {
if (_debug) Debug.Log("<WakaTime> Sent heartbeat!");
_lastHeartbeat = response.data;
}
}

request.Dispose();
};
}

Expand Down