Implementation Thirdparty AMQP function crashed Engine


I try too implement a functions from a library called SimpleAmqpClient to get the amqp protocol in the engine.

Here is the problem when i try to call a function from this lib. the engine freeze for a second and than the engine keep crashing.

I call this function in a actorBlueprint via on begin play than a delay of two seconds and than the function.
that’s where the engine keep crashing, and i don’t know how too fix it.
here are some screenshots,


The .cpp file:

The .h file:

Ue4 error :

Visual Studio debugging error :

I have try the same function in a new standalone Visual Studio project and there it works fine.

Can someone help me with this ?