[Verse-dev] verse_session_destroy()

Emil Brink verse-dev@blender.org
Fri, 23 Apr 2004 16:55:39 +0200 (MEST)


Eskil,

it doesn't seem that the implementation of verse_session_destroy() here:

<http://projects.blender.org/viewcvs/viewcvs.cgi/verse/v_connection.c?rev=1.10&cvsroot=verse&content-type=text/vnd.viewcvs-markup>

changes the VConData.current_connection variable. This seems wrong to
me, but of course I can't be sure...

I would expect it to change the current session to, well, some other
session I guess. Since it might be of interest to the application
which session became the new current, adding a verse_session_get()
API call seems sensible.

Regards,

/Emil