Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error 10054 on fbserver if I exit my application (FbRemoteEvent-usage) [DNET845] #778

Closed
firebird-automations opened this issue Aug 29, 2018 · 7 comments

Comments

@firebird-automations
Copy link

Submitted by: Andreas Franz (andyfx12)

Closing an application with FbRemoteEvent-usage causes an 10054 error in firebird.log. "CancelEvent" and "Dispose" has no effect. Seems connection is terminated hard on application exit.

Commits: 778f98b

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Please provide a test code you're using.

@firebird-automations
Copy link
Author

Commented by: Andreas Franz (andyfx12)

Hallo Jiri,

I´m on VB .NET.

I´m registering FbRemoteEvent with

Dim cs As New FbConnectionStringBuilder()
cs.DataSource = datasource
cs.Database = filename
cs.UserID = "sysdba"
cs.Password = "masterke"
cs.Charset = "WIN1250"
cs.Pooling = False
cs.Port=4050
revent=New FbRemoteEvent(cs.ToString)
revent.QueueEvents({"NEUTERMIN"})
AddHandler revent.RemoteEventCounts, AddressOf LogEventRaised

and I stop Eventhandling with

revent.CancelEvents
RemoveHandler revent.RemoteEventCounts, AddressOf LogEventRaised
revent.Dispose

before I close my application. After closing - error on server-side occurs.

regards, Andy

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => In Progress [ 3 ]

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Found it. Can you try with this build http://www.uschovna.cz/zasilka/DPHRF9HEHUIXG3U4-PSD/ and confirm it's working for you as expected as well?

@firebird-automations
Copy link
Author

Commented by: Andreas Franz (andyfx12)

Wow - I´m impressed.

Yes - it works without any error now.

Thanks for your work,

Andy

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Good to hear that.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: In Progress [ 3 ] => Closed [ 6 ]

resolution: Fixed [ 1 ]

Fix Version: 6.3.0.0 [ 10882 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants