Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #7345
| Newsgroups | comp.lang.ruby |
|---|---|
| Date | 2017-03-09 06:11 -0800 |
| Message-ID | <8188fc7f-2947-4556-8338-e276644cdd29@googlegroups.com> (permalink) |
| Subject | How to release or disconnect the win32ole objects |
| From | satya28@gmail.com |
Hi, I'm facing a problem on releasing/free up the win32 ole objects. Here is what I did, but it didn't work. I'm creating an ole object to our application like below. @automation = WIN32OLE.new( "Wolfson.WISCE.WISCEAutomation" ) @automation.ole_free But it's not free up the above object. If I tried with @automation = nil GC.start The above stuff didn't work for me though the object is nil, It shows me that still I have connection with the app. Please help me on this, how can we free up completely the ole object. Thanks, Satya
Back to comp.lang.ruby | Previous | Next | Find similar
How to release or disconnect the win32ole objects satya28@gmail.com - 2017-03-09 06:11 -0800
csiph-web