Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

New Post: REngine.CreateInstance

$
0
0
jperraud wrote:
The behavior after the call to the Dispose method is not a bug: this is intended to be so and the purpose of the 'Dispose' pattern.
.

This is not working for me:

1) Create engine using GetInstance()
2) engine.Evaluate(myFunction); throws an exception
3) Dispose engine in Finally block
4) Rerun and I get:
The single REngine instance has already been disposed of (i.e. shut down). Multiple engine restart is not possible.

I can only retry after stopping/restarting IIS.

Viewing all articles
Browse latest Browse all 1634


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>