I've used glue at least a dozen times in the last year and my machine doesn't blink at it. Not even where I've left glops or ended up with stiff areas, it just sews right through. (I have a Janome 6600)
Still-wet glue would probably create a mess, but I can't imagine it actually creating permanent damage to your machine. Easily avoided, anyway - just make sure it's dry!
I'm sure not all machines handle things the same way, but personally I'm fearless with the glue - I figure if I can crash my needle into a foot and the machine is fine, I don't see how glue could harm anything. (And I have busted at least 2 needles on this machine by doing just that; forgetting I have a single-hole foot on and switching to zig-zag. BANG, BUZZ, BEEP BEEP BEEP!!! Oops! Time to go find bits of needle...and she always sews just fine afterwards once I put a new needle in.)