I’m posing this as a question, not a bug. My code needs to be fixed, but I’m curious.
Upon the 16th call to Factory.System_Create (C#), fmod takes my app and kicks it in the nuts (so to speak). The result is that the app quietly dies without an error, without any sort of a message, it just disappears.
This is consistently happening with the 16th instantiation. Like I said, it’s a situation that needs to be rectified in my code, but I’m curious if this was a result of code-enforced limits or something more sinister. I don’t think someone would intentionally cause an effect like this, so I’m leaning towards the latter, possibly even a resource issue, but I couldn’t find anything in the documentation about a limit on instances, so I thought I’d ask.
- kc asked 10 years ago
I don’t. Like I said, it was a bug in my code that I’ve since rectified. I was just asking for my own personal curiousity. The reason why it was creating multiple system objects was because the user is able to open multiple instances of their files and each one was creating an instance of an engine, each of which created an instance of the system object. I’ve since gone to ref counting the allocation/dispose requests and only creating the system object once.
Please login first to submit.