Aerilius / sketchup-console-plus

A better Ruby Console and IDE for integrated development in SketchUp.
MIT License
42 stars 17 forks source link

Ensure Sketchup::Http::Request is kept alive. #36

Open thomthom opened 2 years ago

thomthom commented 2 years ago

If the request object from Sketchup::Http::Request.new is held on to it might become garbage collected before it'll have time to complete. Because of this it should always be assigned to an instance or class variable for at least it's duration.