jperraud wrote:
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.
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.