15 lines
484 B
Diff
15 lines
484 B
Diff
|
Index: daemon/gvfschannel.c
|
||
|
===================================================================
|
||
|
--- daemon/gvfschannel.c (revision 1269)
|
||
|
+++ daemon/gvfschannel.c (working copy)
|
||
|
@@ -343,7 +343,8 @@
|
||
|
|
||
|
if (command == G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_CANCEL)
|
||
|
{
|
||
|
- if (arg1 == channel->priv->current_job_seq_nr)
|
||
|
+ if (arg1 == channel->priv->current_job_seq_nr &&
|
||
|
+ channel->priv->current_job != NULL)
|
||
|
g_vfs_job_cancel (channel->priv->current_job);
|
||
|
else
|
||
|
{
|