Fix resets:
Merge pull request #2 from talesgalvao/feature/gobject_queue

Fix resets: