Re: luabind with boost::signals error

Tony Kostanjsek <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
Are you absolutely sure you're not destroying the Lua state before the 
disconnects occur?

----- Ursprüngliche Mail ----
Von: Szymon Gatner <[email protected]>
An: [email protected]
Gesendet: Dienstag, den 15. Februar 2011, 18:01:40 Uhr
Betreff: Re: [luabind] luabind with boost::signals error

Care to elaborate?

I should not use luabind::object as a slot? Or just not disconnecting this way?

Previous code modified like so:

  signals::connection c = sig.connect(slot);

  c.disconnect();

works fine but I do not like the idea of signaled objects to keep
every connection
to every signal they register to. Any other suggestions?

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user




------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.