seed r349 - trunk/libseed
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r349 - trunk/libseed
- Date: Tue, 25 Nov 2008 06:46:59 +0000 (UTC)
Author: racarr
Date: Tue Nov 25 06:46:59 2008
New Revision: 349
URL: http://svn.gnome.org/viewvc/seed?rev=349&view=rev
Log:
Remove use of context in finalize handler as API says it may sometimes break.
Modified:
trunk/libseed/seed-closure.c
Modified: trunk/libseed/seed-closure.c
==============================================================================
--- trunk/libseed/seed-closure.c (original)
+++ trunk/libseed/seed-closure.c Tue Nov 25 06:46:59 2008
@@ -105,7 +105,6 @@
g_free(privates->cif->arg_types);
g_free(privates->cif);
- JSValueUnprotect(eng->context, privates->function);
munmap(privates->closure, sizeof(ffi_closure));
}
@@ -360,7 +359,6 @@
privates->info = info;
privates->function = function;
privates->cif = cif;
- JSValueProtect(eng->context, privates->function);
for (i = 0; i < num_args; i++)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]