0
0

I am using the C# ripnetstream example and everything is working correctly except for one issue. My callback for close is never called. I can see that once it is done reading all of the file the sizeinbytes is coming back as 0 but it never calls the close callback which closes the file stream. The result is that the filestream is being left open. I worked around this by closing the stream from within the read callback once I see that there is no more data but I am just wondering why the close callback is not firing. Is there something else that has to be added to the code in the example to to make the close callback fire correctly?

  • You must to post comments
0
0

Hm i think close would be only called by the user when they close the program. Is Sound::release not being called on the C# example when you close the program?

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.