Queue content corrupted

In reply to imed_mabrouk:

My guess is that you are sending the same handle to two different locations instead of cloning the object into two separate objects. Since you are using the same handle in two separate locations, deleting the data in one object is reflected in the second location.

Of course, any additional code which shows the two objects being sent would help further isolate your issue.