These are chat archives for Alxandr/SpotiFire

8th
Feb 2015
Moritz Gunz
@NeoLegends
Feb 08 2015 11:48

Okay, I think I got it right.

void Session::logged_in(Error error) {
    logger->Trace("logged_in");
    TaskCompletionSource<SpotiFire::Error> ^tcs = Interlocked::Exchange(_login, static_cast<TaskCompletionSource<SpotiFire::Error>^>(nullptr));
    if(tcs) {
        tcs->SetResult(error);
    }
}

I'll see if that fixed the problem.

Moritz Gunz
@NeoLegends
Feb 08 2015 11:54
This is super weird. Now its not causing an error, but playback doesn't start.
Aleksander Heintz
@Alxandr
Feb 08 2015 12:13
Is it ever running SetResult?
Moritz Gunz
@NeoLegends
Feb 08 2015 12:13
Now it does run with TrySetResult.
Aleksander Heintz
@Alxandr
Feb 08 2015 12:13
O_o
Moritz Gunz
@NeoLegends
Feb 08 2015 12:14
You know what I think? It works all the time, its just Visual Studio not fetching the new version of the library when I rebuild Festify.
I'll gotta test it a little more, I'll get back to you ;)
Okay. Festify starts playback in Debug and Release mode outside of the debugger. Now testing with Debugger attached.
Aleksander Heintz
@Alxandr
Feb 08 2015 12:17
Huh
Moritz Gunz
@NeoLegends
Feb 08 2015 12:17
Okay, its working everywhere now.
Would you mind trying it out?
Aleksander Heintz
@Alxandr
Feb 08 2015 12:17
I did some groundwork/testing: https://github.com/Alxandr/SpotiFire/tree/csharp
Moritz Gunz
@NeoLegends
Feb 08 2015 12:17
Just to be sure its not my PC?
I'll have to eat now, I'll check that later :)
Aleksander Heintz
@Alxandr
Feb 08 2015 12:17
Yeah
Okay, cya in 20 minutes.
Moritz Gunz
@NeoLegends
Feb 08 2015 12:24
I have a question, what are the licensing terms for SpotiFire, or, do you want to be mentioned somewhere in the credits?
Aleksander Heintz
@Alxandr
Feb 08 2015 12:27
Currently, I have no license. I started SpotiFire before I even thought about that stuff. But I've gotten into the habit of just using Apache 2 on everything. Though considering switching to MIT
So, do what you like. If you feel credit is due, then by all means mention me. Otherwise don't ^^
Moritz Gunz
@NeoLegends
Feb 08 2015 12:31
Okay, I'll drop you a line. :)
oh god damn.
It doesn't work again.
At least if I run Festify out of ClickOnce.
Running it directly still works.
Moritz Gunz
@NeoLegends
Feb 08 2015 12:39
lol
It works perfectly inside my Windows 7 VM. Even from ClickOnce.
Gotta love that .NET development :laughing: