I think you'll be fine, glass won't conduct heat well, and so the glue probably won't get hot enough to emit fumes. the problem however, is that some (see: most) glues emit fumes even when they're not heated, so my advice would be to wait a little but before hitting it.