I think the actions are unrelated. This has more to do with the history between McCaw and the Warriors. I suspect the Cavs did an agent a favor and signed him to what was really nothing more than a bogus contract so that Golden State would have to let him go.
I was just reading up on this and from what I've seen people suspect they offered McCaw more than they ever intended on paying him. They put an out clause in the contract that meant they could waive him prior to January 7th and be off the hook entirely for the deal they signed him to, which was 2 years and $6 million in total salary. McCaw turned down a 2 year/$5.2 million dollar deal from the Warriors this offseason so it's hard to believe he waited that long for $800 thousand over 2 years, especially when he missed out on a good amount by missing the first couple of months this season. Apparently the out clause was all a way of screwing the Warriors though because the Cavs always intended on waiving him, so his rights wouldn't belong to Golden State anymore after they declined to match and after being waived by the Cavs he becomes an unrestricted free agent. Where it gets weird though is the Cavs apparently want to resign him but for less money than the initial offer, the one that Golden State refused to match, so the plan was always to waive him and get his rights away from the Warriors and then sign him for around the league minimum. Who knows why McCaw would be ok with that but who knows. Apparently more will come out soon. Here's an article that details most everything that's happened.
https://www.sbnation.com/2019/1/8/1...contract-warriors-cavaliers-free-agency-petty